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

Side by Side Diff: runtime/vm/flow_graph_type_propagator.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_range_analysis.cc ('k') | runtime/vm/il_printer.cc » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/flow_graph_type_propagator.h" 5 #include "vm/flow_graph_type_propagator.h"
6 6
7 #include "vm/cha.h" 7 #include "vm/cha.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/il_printer.h" 9 #include "vm/il_printer.h"
10 #include "vm/object_store.h" 10 #include "vm/object_store.h"
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 // Type is double when converted back. 1511 // Type is double when converted back.
1512 return CompileType::FromCid(kDoubleCid); 1512 return CompileType::FromCid(kDoubleCid);
1513 } 1513 }
1514 1514
1515 1515
1516 CompileType InvokeMathCFunctionInstr::ComputeType() const { 1516 CompileType InvokeMathCFunctionInstr::ComputeType() const {
1517 return CompileType::FromCid(kDoubleCid); 1517 return CompileType::FromCid(kDoubleCid);
1518 } 1518 }
1519 1519
1520 1520
1521 CompileType MergedMathInstr::ComputeType() const { 1521 CompileType TruncDivModInstr::ComputeType() const {
1522 return CompileType::Dynamic(); 1522 return CompileType::Dynamic();
1523 } 1523 }
1524 1524
1525 1525
1526 CompileType ExtractNthOutputInstr::ComputeType() const { 1526 CompileType ExtractNthOutputInstr::ComputeType() const {
1527 return CompileType::FromCid(definition_cid_); 1527 return CompileType::FromCid(definition_cid_);
1528 } 1528 }
1529 1529
1530 } // namespace dart 1530 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_range_analysis.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698