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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 11234002: Enable redundancy elimination for array loads. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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_optimizer.h
===================================================================
--- runtime/vm/flow_graph_optimizer.h (revision 13809)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -155,10 +155,10 @@
// on the dominator tree.
class DominatorBasedCSE : public AllStatic {
public:
- static void Optimize(FlowGraph* graph);
+ static bool Optimize(FlowGraph* graph);
srdjan 2012/10/19 14:45:50 Describe in comment what result true/false means
Florian Schneider 2012/10/22 10:31:55 Done.
private:
- static void OptimizeRecursive(
+ static bool OptimizeRecursive(
BlockEntryInstr* entry,
DirectChainedHashMap<Instruction*>* map);
};

Powered by Google App Engine
This is Rietveld 408576698