| Index: lib/compiler/implementation/ssa/optimize.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/ssa/optimize.dart (revision 8717)
|
| +++ lib/compiler/implementation/ssa/optimize.dart (working copy)
|
| @@ -903,6 +903,12 @@
|
|
|
| void visitBasicBlock(HBasicBlock block, ValueSet values) {
|
| HInstruction instruction = block.first;
|
| + if (block.isLoopHeader()) {
|
| + int flags = loopChangesFlags[block.id];
|
| + if (flags != 0) {
|
| + values.kill(flags);
|
| + }
|
| + }
|
| while (instruction !== null) {
|
| HInstruction next = instruction.next;
|
| int flags = instruction.getChangesFlags();
|
|
|