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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 1575953005: Source position tests for switch and try catch finally (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
Index: runtime/vm/flow_graph_builder.h
diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
index 41bd751a02de2d900d50e2092ec9eb7c26ca43ad..94c9444fda7ad756dd179cf1025f3db972977316 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -396,11 +396,13 @@ class EffectGraphVisitor : public AstNodeVisitor {
void BuildConstructorCall(ConstructorCallNode* node,
PushArgumentInstr* alloc_value);
- void BuildSaveContext(const LocalVariable& variable);
- void BuildRestoreContext(const LocalVariable& variable);
+ void BuildSaveContext(const LocalVariable& variable,
+ intptr_t token_pos);
+ void BuildRestoreContext(const LocalVariable& variable,
+ intptr_t token_pos);
- Definition* BuildStoreContext(Value* value);
- Definition* BuildCurrentContext();
+ Definition* BuildStoreContext(Value* value, intptr_t token_pos);
+ Definition* BuildCurrentContext(intptr_t token_pos);
void BuildThrowNode(ThrowNode* node);

Powered by Google App Engine
This is Rietveld 408576698