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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 817823002: Add inlining ranges/intervals to code objects so that we can map a pc to the inlined stack. The map… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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/disassembler_x64.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 42521)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -265,9 +265,11 @@
};
public:
- FlowGraphCompiler(Assembler* assembler,
- FlowGraph* flow_graph,
- bool is_optimizing);
+ FlowGraphCompiler(
+ Assembler* assembler,
+ FlowGraph* flow_graph,
+ bool is_optimizing,
+ const GrowableArray<const Function*>& inline_id_to_function);
~FlowGraphCompiler();
@@ -519,6 +521,11 @@
void AddStubCallTarget(const Code& code);
+ const Array& inlined_code_intervals() const {
+ ASSERT(inlined_code_intervals_ != NULL);
+ return *inlined_code_intervals_;
+ }
+
private:
friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_.
@@ -674,6 +681,9 @@
ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
+ const Array* inlined_code_intervals_;
+ const GrowableArray<const Function*>& inline_id_to_function_;
+
DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
};
« no previous file with comments | « runtime/vm/disassembler_x64.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698