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

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

Issue 2891113002: Use same range info when emitting code and computing if instruction can deopt. (Closed)
Patch Set: Add a comment to the test Created 3 years, 7 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
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/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/flow_graph_range_analysis.h" 7 #include "vm/flow_graph_range_analysis.h"
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/os.h" 9 #include "vm/os.h"
10 #include "vm/parser.h" 10 #include "vm/parser.h"
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 } 734 }
735 } 735 }
736 736
737 737
738 void MathUnaryInstr::PrintOperandsTo(BufferFormatter* f) const { 738 void MathUnaryInstr::PrintOperandsTo(BufferFormatter* f) const {
739 f->Print("'%s', ", MathUnaryInstr::KindToCString(kind())); 739 f->Print("'%s', ", MathUnaryInstr::KindToCString(kind()));
740 value()->PrintTo(f); 740 value()->PrintTo(f);
741 } 741 }
742 742
743 743
744 void MergedMathInstr::PrintOperandsTo(BufferFormatter* f) const { 744 void TruncDivModInstr::PrintOperandsTo(BufferFormatter* f) const {
745 f->Print("'%s', ", MergedMathInstr::KindToCString(kind()));
746 Definition::PrintOperandsTo(f); 745 Definition::PrintOperandsTo(f);
747 } 746 }
748 747
749 748
750 void ExtractNthOutputInstr::PrintOperandsTo(BufferFormatter* f) const { 749 void ExtractNthOutputInstr::PrintOperandsTo(BufferFormatter* f) const {
751 f->Print("Extract %" Pd " from ", index()); 750 f->Print("Extract %" Pd " from ", index());
752 Definition::PrintOperandsTo(f); 751 Definition::PrintOperandsTo(f);
753 } 752 }
754 753
755 754
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 } 1384 }
1386 1385
1387 1386
1388 bool FlowGraphPrinter::ShouldPrint(const Function& function) { 1387 bool FlowGraphPrinter::ShouldPrint(const Function& function) {
1389 return false; 1388 return false;
1390 } 1389 }
1391 1390
1392 #endif // !PRODUCT 1391 #endif // !PRODUCT
1393 1392
1394 } // namespace dart 1393 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698