| Index: runtime/vm/flow_graph.h
|
| diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
|
| index 544dfacdfbb14677a45dc3e16c9dbbc2830feedd..5253ebab7df61f6b330f5588c30886d95da030c4 100644
|
| --- a/runtime/vm/flow_graph.h
|
| +++ b/runtime/vm/flow_graph.h
|
| @@ -285,6 +285,15 @@ class FlowGraph : public ZoneAllocated {
|
| // Merge instructions (only per basic-block).
|
| void TryOptimizePatterns();
|
|
|
| + ZoneGrowableArray<TokenPosition>* await_token_positions() const {
|
| + return await_token_positions_;
|
| + }
|
| +
|
| + void set_await_token_positions(
|
| + ZoneGrowableArray<TokenPosition>* await_token_positions) {
|
| + await_token_positions_ = await_token_positions;
|
| + }
|
| +
|
| // Replaces uses that are dominated by dom of 'def' with 'other'.
|
| // Note: uses that occur at instruction dom itself are not dominated by it.
|
| static void RenameDominatedUses(Definition* def,
|
| @@ -388,6 +397,7 @@ class FlowGraph : public ZoneAllocated {
|
| ZoneGrowableArray<BlockEntryInstr*>* loop_headers_;
|
| ZoneGrowableArray<BitVector*>* loop_invariant_loads_;
|
| ZoneGrowableArray<const LibraryPrefix*>* deferred_prefixes_;
|
| + ZoneGrowableArray<TokenPosition>* await_token_positions_;
|
| DirectChainedHashMap<ConstantPoolTrait> constant_instr_pool_;
|
| BitVector* captured_parameters_;
|
|
|
|
|