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

Unified Diff: runtime/vm/flow_graph.h

Issue 11028140: Inlining of calls with optional parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review comments. 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/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 5227c8bfdf58a02644f1f44801eafa3abb311377..8071352b159f4e5dd89a32f16195ca2d06b87d91 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -11,6 +11,7 @@
namespace dart {
class BlockEntryInstr;
+class ConstantInstr;
class Definition;
class FlowGraphBuilder;
class GraphEntryInstr;
@@ -104,8 +105,11 @@ class FlowGraph : public ZoneAllocated {
intptr_t InstructionCount() const;
+ ConstantInstr* AddConstantToInitialDefinitions(const Object& object);
+
// Operations on the flow graph.
- void ComputeSSA(intptr_t next_virtual_register_number);
+ void ComputeSSA(intptr_t next_virtual_register_number,
+ GrowableArray<Definition*>* inlining_parameters);
void ComputeUseLists();
// Finds natural loops in the flow graph and attaches a list of loop
@@ -138,7 +142,8 @@ class FlowGraph : public ZoneAllocated {
GrowableArray<intptr_t>* parent,
GrowableArray<intptr_t>* label);
- void Rename(GrowableArray<PhiInstr*>* live_phis);
+ void Rename(GrowableArray<PhiInstr*>* live_phis,
+ GrowableArray<Definition*>* inlining_parameters);
void RenameRecursive(
BlockEntryInstr* block_entry,
GrowableArray<Definition*>* env,
« 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