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

Unified Diff: runtime/vm/ast.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 | « no previous file | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index 6da90a562bbe7b72f6648b386d3d47de8d913585..4848a3f69f11c03f00f50bb51f22ec30e10e6173 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -1972,7 +1972,7 @@ class ThrowNode : public AstNode {
class InlinedFinallyNode : public AstNode {
public:
InlinedFinallyNode(intptr_t token_pos,
- AstNode* finally_block,
+ SequenceNode* finally_block,
const LocalVariable* context_var,
intptr_t try_index)
: AstNode(token_pos),
@@ -1983,7 +1983,7 @@ class InlinedFinallyNode : public AstNode {
ASSERT(context_var != NULL);
}
- AstNode* finally_block() const { return finally_block_; }
+ SequenceNode* finally_block() const { return finally_block_; }
const LocalVariable& context_var() const { return context_var_; }
intptr_t try_index() const { return try_index_; }
@@ -1994,7 +1994,7 @@ class InlinedFinallyNode : public AstNode {
DECLARE_COMMON_NODE_FUNCTIONS(InlinedFinallyNode);
private:
- AstNode* finally_block_;
+ SequenceNode* finally_block_;
const LocalVariable& context_var_;
const intptr_t try_index_;
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698