| Index: dart/runtime/vm/code_descriptors.h
|
| ===================================================================
|
| --- dart/runtime/vm/code_descriptors.h (revision 42827)
|
| +++ dart/runtime/vm/code_descriptors.h (working copy)
|
| @@ -135,7 +135,7 @@
|
| list_[try_index].pc_offset = pc_offset;
|
| ASSERT(handler_types.IsZoneHandle());
|
| list_[try_index].handler_types = &handler_types;
|
| - list_[try_index].needs_stacktrace = needs_stacktrace;
|
| + list_[try_index].needs_stacktrace |= needs_stacktrace;
|
| }
|
|
|
|
|
| @@ -145,7 +145,10 @@
|
| if (try_index == CatchClauseNode::kInvalidTryIndex) {
|
| return;
|
| }
|
| - ASSERT((0 <= try_index) && (try_index < Length()));
|
| + ASSERT(try_index >= 0);
|
| + while (Length() <= try_index) {
|
| + AddPlaceHolder();
|
| + }
|
| list_[try_index].needs_stacktrace = true;
|
| }
|
|
|
|
|