| Index: sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart b/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
|
| index c1243d23a85b64df4ea6fff4862b7093dac2641c..e139f242388b05667626bc9a56a117b36bf81640 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
|
| @@ -299,7 +299,8 @@ class SsaLiveIntervalBuilder extends HBaseVisitor {
|
| int lastId = env.loopMarkers[header];
|
| // Update all instructions that are liveIns in [header] to have a
|
| // range that covers the loop.
|
| - env.liveInstructions.forEach((HInstruction instruction, int id) {
|
| + new Map.from(env.liveInstructions).forEach((HInstruction instruction,
|
| + int id) {
|
| LiveInterval range = env.liveIntervals.putIfAbsent(
|
| instruction, () => new LiveInterval());
|
| range.loopUpdate(env.startId, lastId);
|
|
|