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

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 192573008: Inline Float64x2 methods with zero arguments (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
« 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 eef351e3d97b3d14db9b4702e589131b94832be9..9d09a66810fe6d73919c768e4fdf4a4cc01af06c 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -1167,6 +1167,14 @@ CompileType Float64x2ToFloat32x4Instr::ComputeType() const {
}
+CompileType Float64x2ZeroArgInstr::ComputeType() const {
+ if (op_kind() == MethodRecognizer::kFloat64x2GetSignMask) {
+ return CompileType::Int();
+ }
+ return CompileType::FromCid(kFloat64x2Cid);
+}
+
+
CompileType Int32x4BoolConstructorInstr::ComputeType() const {
return CompileType::FromCid(kInt32x4Cid);
}
« 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