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

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, 8 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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5e2724c03ecc73fe6b5fa7111fe129c165eca12d 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -1292,14 +1292,13 @@ CompileType InvokeMathCFunctionInstr::ComputeType() const {
CompileType MergedMathInstr::ComputeType() const {
- if (kind() == MergedMathInstr::kTruncDivMod) {
- return CompileType::FromCid(kArrayCid);
- } else if (kind() == MergedMathInstr::kSinCos) {
- return CompileType::FromCid(kTypedDataFloat64ArrayCid);
- } else {
- UNIMPLEMENTED();
- return CompileType::Dynamic();
- }
+ return CompileType::Dynamic();
}
+
+CompileType ExtractNthOutputInstr::ComputeType() const {
+ return CompileType::FromCid(definition_cid_);
+}
+
+
} // namespace dart
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698