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

Unified Diff: runtime/vm/flow_graph.h

Issue 10913010: Inlining monomorphic calls. (Closed) Base URL: https://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 | « runtime/vm/compiler.cc ('k') | 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
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index e87cf566bccdb748e5a28aa6e5db19d317688633..b5777a0807d840dc9e7548e85a7e37bb315d5e47 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -16,8 +16,6 @@ class FlowGraphBuilder;
class GraphEntryInstr;
class PhiInstr;
class ReturnInstr;
-class StaticCallInstr;
-
class BlockIterator : public ValueObject {
public:
@@ -97,14 +95,14 @@ class FlowGraph: public ZoneAllocated {
intptr_t alloc_ssa_temp_index() { return current_ssa_temp_index_++; }
// Operations on the flow graph.
- void ComputeSSA(intptr_t next_virtual_register_number = 0);
+ void ComputeSSA(intptr_t next_virtual_register_number);
void ComputeUseLists();
// Finds natural loops in the flow graph and attaches a list of loop
// body blocks for each loop header.
void ComputeLoops(GrowableArray<BlockEntryInstr*>* loop_headers);
- void InlineCall(StaticCallInstr* call, FlowGraph* callee_graph);
+ void InlineCall(Definition* call, FlowGraph* callee_graph);
// TODO(zerny): Once the SSA is feature complete this should be removed.
void Bailout(const char* reason) const;
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698