Index: runtime/vm/intermediate_language.h |
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h |
index 5f837bf9219f634e99772f38893d076ac8fe362e..b58d9bf41e1c5310a63dcf474dfec02cc5c4bd49 100644 |
--- a/runtime/vm/intermediate_language.h |
+++ b/runtime/vm/intermediate_language.h |
@@ -1469,7 +1469,9 @@ class IndirectEntryInstr : public JoinEntryInstr { |
class CatchBlockEntryInstr : public BlockEntryInstr { |
public: |
- CatchBlockEntryInstr(intptr_t block_id, |
+ CatchBlockEntryInstr(TokenPosition handler_token_pos, |
+ bool is_generated, |
+ intptr_t block_id, |
intptr_t try_index, |
GraphEntryInstr* graph_entry, |
const Array& handler_types, |
@@ -1487,7 +1489,9 @@ class CatchBlockEntryInstr : public BlockEntryInstr { |
exception_var_(exception_var), |
stacktrace_var_(stacktrace_var), |
needs_stacktrace_(needs_stacktrace), |
- should_restore_closure_context_(should_restore_closure_context) { |
+ should_restore_closure_context_(should_restore_closure_context), |
+ handler_token_pos_(handler_token_pos), |
+ is_generated_(is_generated) { |
deopt_id_ = deopt_id; |
} |
@@ -1508,6 +1512,9 @@ class CatchBlockEntryInstr : public BlockEntryInstr { |
bool needs_stacktrace() const { return needs_stacktrace_; } |
+ bool is_generated() const { return is_generated_; } |
+ TokenPosition handler_token_pos() const { return handler_token_pos_; } |
+ |
// Returns try index for the try block to which this catch handler |
// corresponds. |
intptr_t catch_try_index() const { return catch_try_index_; } |
@@ -1541,6 +1548,8 @@ class CatchBlockEntryInstr : public BlockEntryInstr { |
const LocalVariable& stacktrace_var_; |
const bool needs_stacktrace_; |
const bool should_restore_closure_context_; |
+ TokenPosition handler_token_pos_; |
+ bool is_generated_; |
DISALLOW_COPY_AND_ASSIGN(CatchBlockEntryInstr); |
}; |