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

Unified Diff: runtime/vm/flow_graph_inliner.h

Issue 1472363002: VM: Inlining of small constructors/factories, optimizations on inlined function bodies (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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_inliner.h
diff --git a/runtime/vm/flow_graph_inliner.h b/runtime/vm/flow_graph_inliner.h
index 114348b78af72ebad76c23f4a0e9b1640192025b..6e3ce090af7073390dab27ab34daf72aad0b3c0b 100644
--- a/runtime/vm/flow_graph_inliner.h
+++ b/runtime/vm/flow_graph_inliner.h
@@ -18,7 +18,9 @@ class FlowGraphInliner : ValueObject {
public:
FlowGraphInliner(FlowGraph* flow_graph,
GrowableArray<const Function*>* inline_id_to_function,
- GrowableArray<intptr_t>* caller_inline_id);
+ GrowableArray<intptr_t>* caller_inline_id,
+ bool use_speculative_inlining,
+ GrowableArray<intptr_t>* inlining_black_list);
// The flow graph is destructively updated upon inlining.
void Inline();
@@ -41,6 +43,8 @@ class FlowGraphInliner : ValueObject {
GrowableArray<const Function*>* inline_id_to_function_;
GrowableArray<intptr_t>* caller_inline_id_;
const bool trace_inlining_;
+ const bool use_speculative_inlining_;
+ GrowableArray<intptr_t>* inlining_black_list_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphInliner);
};

Powered by Google App Engine
This is Rietveld 408576698