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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 14021016: Track side-effect free paths in the graph to allow CSE and LICM for instructions that depend on som… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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.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 4bc64c3a4e06549160161d6ab12e17e6eeb8e04f..980890bf59c0741c3aac7ea13ca27105022c7f75 100644
--- a/runtime/vm/flow_graph_optimizer.h
+++ b/runtime/vm/flow_graph_optimizer.h
@@ -10,9 +10,9 @@
namespace dart {
+class CSEInstructionMap;
template <typename T> class GrowableArray;
-template <typename T> class DirectChainedHashMap;
-template <typename T> class PointerKeyValueTrait;
+class ParsedFunction;
class FlowGraphOptimizer : public FlowGraphVisitor {
public:
@@ -177,9 +177,6 @@ class FlowGraphOptimizer : public FlowGraphVisitor {
};
-class ParsedFunction;
-
-
// Loop invariant code motion.
class LICM : public ValueObject {
public:
@@ -215,7 +212,7 @@ class DominatorBasedCSE : public AllStatic {
static bool OptimizeRecursive(
FlowGraph* graph,
BlockEntryInstr* entry,
- DirectChainedHashMap<PointerKeyValueTrait<Instruction> >* map);
+ CSEInstructionMap* map);
};
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698