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

Unified Diff: runtime/vm/ast.h

Issue 2322853003: VM: Zero-cost try-finally with an empty finally-block. (Closed)
Patch Set: rebased Created 4 years, 3 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/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index 972263c60a9179ee6c974f42590c830e2b86fb20..cd25dc70a85299068fa06bb5b8bd990b3b00cc60 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -1875,6 +1875,7 @@ class CatchClauseNode : public AstNode {
ASSERT(stacktrace_var != NULL);
}
+ SequenceNode* sequence() const { return catch_block_; }
const Array& handler_types() const { return handler_types_; }
const LocalVariable& context_var() const { return context_var_; }
const LocalVariable& exception_var() const { return exception_var_; }
« 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