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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 904763003: Redesign inlining interval computation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 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/flow_graph.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.h
===================================================================
--- runtime/vm/flow_graph_compiler.h (revision 43621)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -270,7 +270,8 @@
FlowGraph* flow_graph,
const ParsedFunction& parsed_function,
bool is_optimizing,
- const GrowableArray<const Function*>& inline_id_to_function);
+ const GrowableArray<const Function*>& inline_id_to_function,
+ const GrowableArray<intptr_t>& caller_inline_id);
~FlowGraphCompiler();
@@ -528,6 +529,8 @@
return *inlined_code_intervals_;
}
+ RawArray* InliningIdToFunction() const;
+
private:
friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_.
@@ -685,6 +688,7 @@
const Array* inlined_code_intervals_;
const GrowableArray<const Function*>& inline_id_to_function_;
+ const GrowableArray<intptr_t>& caller_inline_id_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
};
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698