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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 1739963002: Remember token position where a function was inlined (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/compiler.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
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h
index e09ee5ccd1d28aea2e4a89b0a17171891aff6524..960b78c4b287cd16bc29a5f4139a9a16685b26bd 100644
--- a/runtime/vm/flow_graph_compiler.h
+++ b/runtime/vm/flow_graph_compiler.h
@@ -302,6 +302,7 @@ class FlowGraphCompiler : public ValueObject {
const ParsedFunction& parsed_function,
bool is_optimizing,
const GrowableArray<const Function*>& inline_id_to_function,
+ const GrowableArray<TokenPosition>& inline_id_to_token_pos,
const GrowableArray<intptr_t>& caller_inline_id);
~FlowGraphCompiler();
@@ -590,7 +591,7 @@ class FlowGraphCompiler : public ValueObject {
}
RawArray* InliningIdToFunction() const;
-
+ RawArray* InliningIdToTokenPos() const;
RawArray* CallerInliningIdMap() const;
private:
@@ -787,6 +788,7 @@ class FlowGraphCompiler : public ValueObject {
Array& inlined_code_intervals_;
const GrowableArray<const Function*>& inline_id_to_function_;
+ const GrowableArray<TokenPosition>& inline_id_to_token_pos_;
const GrowableArray<intptr_t>& caller_inline_id_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698