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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 23691024: If a rethrow is encountered in the catch block, then its handler must be marked that it needs stack… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/code_descriptors.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
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 26962)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -128,6 +128,10 @@
void set_try_index(intptr_t value) { try_index_ = value; }
intptr_t try_index() const { return try_index_; }
+ // Manage the currently active catch-handler try index.
+ void set_catch_try_index(intptr_t value) { catch_try_index_ = value; }
+ intptr_t catch_try_index() const { return catch_try_index_; }
+
void AddCatchEntry(CatchBlockEntryInstr* entry);
intptr_t num_copied_params() const {
@@ -169,6 +173,7 @@
intptr_t last_used_block_id_;
intptr_t context_level_;
intptr_t try_index_;
+ intptr_t catch_try_index_;
intptr_t loop_depth_;
GraphEntryInstr* graph_entry_;
« no previous file with comments | « runtime/vm/code_descriptors.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698