| Index: runtime/vm/intermediate_language.h
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.h (revision 40935)
|
| +++ runtime/vm/intermediate_language.h (working copy)
|
| @@ -666,8 +666,8 @@
|
| ASSERT(instr == NULL || !instr->IsBlockEntry());
|
| // TODO(fschneider): Also add Throw and ReThrow to the list of instructions
|
| // that do not have a successor. Currently, the graph builder will continue
|
| - // to append instruction in case of a Throw inside an expression. This
|
| - // condition should be handled in the graph builder
|
| + // to append instructions in case of a Throw inside an expression. This
|
| + // condition should be handled in the graph builder.
|
| next_ = instr;
|
| }
|
|
|
| @@ -1365,6 +1365,12 @@
|
| return catch_entries_;
|
| }
|
|
|
| + intptr_t next_await_counter() { return jump_cnt_++; }
|
| + ZoneGrowableArray<intptr_t>& await_levels() { return await_levels_; }
|
| + ZoneGrowableArray<JoinEntryInstr*>& await_joins() {
|
| + return await_joins_;
|
| + }
|
| +
|
| virtual void PrintTo(BufferFormatter* f) const;
|
|
|
| private:
|
| @@ -1380,6 +1386,10 @@
|
| intptr_t spill_slot_count_;
|
| intptr_t fixed_slot_count_; // For try-catch in optimized code.
|
|
|
| + intptr_t jump_cnt_;
|
| + ZoneGrowableArray<JoinEntryInstr*> await_joins_;
|
| + ZoneGrowableArray<intptr_t> await_levels_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr);
|
| };
|
|
|
|
|