Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: vm/il_printer.cc

Issue 10827209: Unify class ids and snapshot object ids list so that we don't have disparate and sometimes confusin… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « vm/heap_profiler.cc ('k') | vm/intermediate_language.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/il_printer.h" 5 #include "vm/il_printer.h"
6 6
7 #include "vm/intermediate_language.h" 7 #include "vm/intermediate_language.h"
8 #include "vm/os.h" 8 #include "vm/os.h"
9 #include "vm/parser.h" 9 #include "vm/parser.h"
10 10
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 } 381 }
382 382
383 383
384 void UnarySmiOpComp::PrintOperandsTo(BufferFormatter* f) const { 384 void UnarySmiOpComp::PrintOperandsTo(BufferFormatter* f) const {
385 f->Print("%s, ", Token::Str(op_kind())); 385 f->Print("%s, ", Token::Str(op_kind()));
386 value()->PrintTo(f); 386 value()->PrintTo(f);
387 } 387 }
388 388
389 389
390 void ToDoubleComp::PrintOperandsTo(BufferFormatter* f) const { 390 void ToDoubleComp::PrintOperandsTo(BufferFormatter* f) const {
391 ASSERT(from() == kDouble || from() == kSmi); 391 ASSERT(from() == kDoubleCid || from() == kSmiCid);
392 f->Print("%s ", from() == kDouble ? "double2double" : "smi2double"); 392 f->Print("%s ", from() == kDoubleCid ? "double2double" : "smi2double");
393 value()->PrintTo(f); 393 value()->PrintTo(f);
394 } 394 }
395 395
396 396
397 void GraphEntryInstr::PrintTo(BufferFormatter* f) const { 397 void GraphEntryInstr::PrintTo(BufferFormatter* f) const {
398 f->Print("%2d: [graph]", block_id()); 398 f->Print("%2d: [graph]", block_id());
399 if (start_env_ != NULL) { 399 if (start_env_ != NULL) {
400 start_env_->PrintTo(f); 400 start_env_->PrintTo(f);
401 } 401 }
402 } 402 }
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 !locations_[i].IsInvalid()) { 780 !locations_[i].IsInvalid()) {
781 f->Print(" ["); 781 f->Print(" [");
782 locations_[i].PrintTo(f); 782 locations_[i].PrintTo(f);
783 f->Print("]"); 783 f->Print("]");
784 } 784 }
785 } 785 }
786 f->Print(" }"); 786 f->Print(" }");
787 } 787 }
788 788
789 } // namespace dart 789 } // namespace dart
OLDNEW
« no previous file with comments | « vm/heap_profiler.cc ('k') | vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698