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

Unified Diff: vm/flow_graph_optimizer.h

Issue 10830275: Optimize expressions of the form (expr === true) when expr has boolean type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: ready for review 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
Index: vm/flow_graph_optimizer.h
===================================================================
--- vm/flow_graph_optimizer.h (revision 10497)
+++ vm/flow_graph_optimizer.h (working copy)
@@ -19,15 +19,15 @@
void ApplyICData();
+ void OptimizeComputations();
+
virtual void VisitStaticCall(StaticCallComp* comp, BindInstr* instr);
virtual void VisitInstanceCall(InstanceCallComp* comp, BindInstr* instr);
virtual void VisitLoadIndexed(LoadIndexedComp* comp, BindInstr* instr);
virtual void VisitStoreIndexed(StoreIndexedComp* comp, BindInstr* instr);
virtual void VisitRelationalOp(RelationalOpComp* comp, BindInstr* instr);
-
virtual void VisitEqualityCompare(EqualityCompareComp* comp,
BindInstr* instr);
-
virtual void VisitBind(BindInstr* instr);
private:
« no previous file with comments | « vm/compiler.cc ('k') | vm/flow_graph_optimizer.cc » ('j') | vm/intermediate_language.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698