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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 1317213003: Improve async code in VM by not unnecessarily capturing parameters of async and (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Avoid duplicate aliases Created 5 years, 4 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 | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
index 2211da403c3ec7016f797efa988ccad5577c6ea1..7070e2ae9b2cb25eda2ee346db7125d61f067f1a 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -164,7 +164,6 @@ class FlowGraphBuilder : public ValueObject {
intptr_t next_await_counter() { return jump_count_++; }
- ZoneGrowableArray<intptr_t>* await_levels() const { return await_levels_; }
ZoneGrowableArray<JoinEntryInstr*>* await_joins() const {
return await_joins_;
}
@@ -254,7 +253,6 @@ class FlowGraphBuilder : public ValueObject {
intptr_t jump_count_;
ZoneGrowableArray<JoinEntryInstr*>* await_joins_;
- ZoneGrowableArray<intptr_t>* await_levels_;
DISALLOW_IMPLICIT_CONSTRUCTORS(FlowGraphBuilder);
};
@@ -465,18 +463,6 @@ class EffectGraphVisitor : public AstNodeVisitor {
void BuildLetTempExpressions(LetNode* node);
- void BuildSyncYieldJump(LocalVariable* old_context,
- LocalVariable* iterator_param,
- const intptr_t old_ctx_level,
- JoinEntryInstr* target);
-
- void BuildAsyncJump(LocalVariable* old_context,
- LocalVariable* continuation_result,
- LocalVariable* continuation_error,
- LocalVariable* continuation_stack_trace,
- const intptr_t old_ctx_level,
- JoinEntryInstr* target);
-
void BuildInstanceGetterConditional(InstanceGetterNode* node);
void BuildInstanceCallConditional(InstanceCallNode* node);
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698