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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 1154823003: Adjust context level when required before executing inlined finally clauses. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/ast.h ('k') | 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 4c127f175d0227e904e034da7841644413f6e091..2115065268b4752b48602321e1a317f2f0806196 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -407,6 +407,10 @@ class EffectGraphVisitor : public AstNodeVisitor {
// Moves the nth parent context into the context register.
void UnchainContexts(intptr_t n);
+ // Unchain the current context until its level matches the context level
+ // expected on entry at the target specified by its scope.
+ void AdjustContextLevel(LocalScope* target_scope);
+
void CloseFragment() { exit_ = NULL; }
// Returns a local variable index for a temporary local that is
« no previous file with comments | « runtime/vm/ast.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698