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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 11086044: Remove support for optimized dart leaf functions. (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
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.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
===================================================================
--- runtime/vm/flow_graph_optimizer.h (revision 13457)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -85,26 +85,6 @@
};
-// Analyze the generated flow graph. Currently only if it is a leaf
-// method, i.e., does not contain any calls to runtime or other Dart code.
-class FlowGraphAnalyzer : public ValueObject {
- public:
- explicit FlowGraphAnalyzer(const FlowGraph& flow_graph)
- : blocks_(flow_graph.reverse_postorder()), is_leaf_(false) {}
- virtual ~FlowGraphAnalyzer() {}
-
- void Analyze();
-
- bool is_leaf() const { return is_leaf_; }
-
- private:
- const GrowableArray<BlockEntryInstr*>& blocks_;
- bool is_leaf_;
-
- DISALLOW_COPY_AND_ASSIGN(FlowGraphAnalyzer);
-};
-
-
class ParsedFunction;
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698