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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11883023: Collect debugging info for catch clauses (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 17032)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -978,7 +978,8 @@
TargetEntryInstr(intptr_t block_id, intptr_t try_index, intptr_t loop_depth)
: BlockEntryInstr(block_id, try_index, loop_depth),
predecessor_(NULL),
- catch_try_index_(CatchClauseNode::kInvalidTryIndex) { }
+ catch_try_index_(CatchClauseNode::kInvalidTryIndex),
+ catch_handler_types_(Array::ZoneHandle()) { }
DECLARE_INSTRUCTION(TargetEntry)
@@ -1002,6 +1003,9 @@
return catch_try_index_;
}
void set_catch_try_index(intptr_t index) { catch_try_index_ = index; }
+ void set_catch_handler_types(const Array& handler_types) {
+ catch_handler_types_ = handler_types.raw();
+ }
virtual void PrepareEntry(FlowGraphCompiler* compiler);
@@ -1017,6 +1021,7 @@
BlockEntryInstr* predecessor_;
intptr_t catch_try_index_;
+ Array& catch_handler_types_;
DISALLOW_COPY_AND_ASSIGN(TargetEntryInstr);
};

Powered by Google App Engine
This is Rietveld 408576698