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

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 215363004: Support for multiple register values (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_type_propagator.cc
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
index e83951c28cfc82f5d0bbaa881f51917dd83c10b9..2134ae6b2df1692b3847d36dc6be87419a15f26a 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -1302,4 +1302,20 @@ CompileType MergedMathInstr::ComputeType() const {
}
}
+
+CompileType MergedMath2Instr::ComputeType() const {
+ return CompileType::Dynamic();
+}
+
+
+CompileType ExtractNthOutputInstr::ComputeType() const {
+ if (representation() == kUnboxedDouble) {
+ return CompileType::FromCid(kDoubleCid);
+ } else {
+ ASSERT(representation() == kTagged);
+ return CompileType::FromCid(kSmiCid);
+ }
+}
+
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698