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

Unified Diff: runtime/vm/flow_graph.h

Issue 11029002: Revert r13022 (revert inlining of methods with control flow), Review URL: https://codereview.chromi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « no previous file | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
===================================================================
--- runtime/vm/flow_graph.h (revision 13077)
+++ runtime/vm/flow_graph.h (working copy)
@@ -40,7 +40,9 @@
// Class to incapsulate the construction and manipulation of the flow graph.
class FlowGraph : public ZoneAllocated {
public:
- FlowGraph(const FlowGraphBuilder& builder, GraphEntryInstr* graph_entry);
+ FlowGraph(const FlowGraphBuilder& builder,
+ GraphEntryInstr* graph_entry,
+ intptr_t max_block_id);
// Function properties.
const ParsedFunction& parsed_function() const {
@@ -87,6 +89,10 @@
return current_ssa_temp_index();
}
+ intptr_t max_block_id() const {
+ return max_block_id_;
+ }
+
GraphEntryInstr* graph_entry() const {
return graph_entry_;
}
@@ -96,6 +102,8 @@
intptr_t alloc_ssa_temp_index() { return current_ssa_temp_index_++; }
+ intptr_t InstructionCount() const;
+
// Operations on the flow graph.
void ComputeSSA(intptr_t next_virtual_register_number);
void ComputeUseLists();
@@ -148,6 +156,7 @@
GrowableArray<BitVector*> assigned_vars_;
intptr_t current_ssa_temp_index_;
+ intptr_t max_block_id_;
// Flow graph fields.
const ParsedFunction& parsed_function_;
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698