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

Side by Side Diff: runtime/vm/il_printer.cc

Issue 25640004: Bug fix in load elimination, constant propagation for LoadClassId. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 value1()->PrintTo(f); 643 value1()->PrintTo(f);
644 f->Print(", "); 644 f->Print(", ");
645 value2()->PrintTo(f); 645 value2()->PrintTo(f);
646 f->Print(", "); 646 f->Print(", ");
647 value3()->PrintTo(f); 647 value3()->PrintTo(f);
648 f->Print(")"); 648 f->Print(")");
649 } 649 }
650 650
651 651
652 void Float32x4ComparisonInstr::PrintOperandsTo(BufferFormatter* f) const { 652 void Float32x4ComparisonInstr::PrintOperandsTo(BufferFormatter* f) const {
653 f->Print("Float32x4 Comparison %d", op_kind()); 653 f->Print("Float32x4 Comparison %s, ",
654 MethodRecognizer::KindToCString(op_kind()));
654 left()->PrintTo(f); 655 left()->PrintTo(f);
655 f->Print(", "); 656 f->Print(", ");
656 right()->PrintTo(f); 657 right()->PrintTo(f);
657 } 658 }
658 659
659 660
660 void Float32x4MinMaxInstr::PrintOperandsTo(BufferFormatter* f) const { 661 void Float32x4MinMaxInstr::PrintOperandsTo(BufferFormatter* f) const {
661 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind())); 662 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
662 left()->PrintTo(f); 663 left()->PrintTo(f);
663 f->Print(", "); 664 f->Print(", ");
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 f->Print(" ["); 979 f->Print(" [");
979 locations_[i].PrintTo(f); 980 locations_[i].PrintTo(f);
980 f->Print("]"); 981 f->Print("]");
981 } 982 }
982 } 983 }
983 f->Print(" }"); 984 f->Print(" }");
984 if (outer_ != NULL) outer_->PrintTo(f); 985 if (outer_ != NULL) outer_->PrintTo(f);
985 } 986 }
986 987
987 } // namespace dart 988 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698