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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 10919008: Unbox phis that were proven to be of type Double. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address Srdjan's comments Created 8 years, 4 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_allocator.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.h
diff --git a/runtime/vm/flow_graph_optimizer.h b/runtime/vm/flow_graph_optimizer.h
index 09a0d95b0ff15f0dc8ebe79a1bd442770e48ade2..ef14418ca9dfafdd4f436dd97f3b3797cda9e6f3 100644
--- a/runtime/vm/flow_graph_optimizer.h
+++ b/runtime/vm/flow_graph_optimizer.h
@@ -24,6 +24,10 @@ class FlowGraphOptimizer : public FlowGraphVisitor {
void OptimizeComputations();
+ void EliminateDeadPhis();
+
+ void SelectRepresentations();
+
virtual void VisitStaticCall(StaticCallComp* comp, BindInstr* instr);
virtual void VisitInstanceCall(InstanceCallComp* comp, BindInstr* instr);
virtual void VisitRelationalOp(RelationalOpComp* comp, BindInstr* instr);
@@ -61,6 +65,8 @@ class FlowGraphOptimizer : public FlowGraphVisitor {
Environment* env,
BindInstr::UseKind use_kind);
+ void InsertConversionsFor(Definition* def);
+
FlowGraph* flow_graph_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer);
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698