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

Unified Diff: runtime/vm/flow_graph.h

Issue 10916228: Inline monomorphic calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. 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
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 022cd4ed559046a73c601dfaaa9b29cb1f1d9aa3..5d67a5e9ee2ac3da0a24da0c6f50c5b2daaeffb3 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;

Powered by Google App Engine
This is Rietveld 408576698