| Index: lib/compiler/implementation/ssa/bailout.dart
|
| diff --git a/lib/compiler/implementation/ssa/bailout.dart b/lib/compiler/implementation/ssa/bailout.dart
|
| index 1df10d158e8420518cef115a02a8e3d55c46cc23..9c96cc03a029ddc6bc26cc4f150017c2893f8b73 100644
|
| --- a/lib/compiler/implementation/ssa/bailout.dart
|
| +++ b/lib/compiler/implementation/ssa/bailout.dart
|
| @@ -286,7 +286,8 @@ class SsaTypeGuardBuilder extends HBaseVisitor implements OptimizationPhase {
|
| int state = 1;
|
| capturedEnvironments.forEach((HInstruction instruction, Environment env) {
|
| List<HInstruction> inputs = env.buildAndSetLast(instruction);
|
| - HTypeGuard guard = new HTypeGuard(state++, inputs);
|
| + HTypeGuard guard =
|
| + new HTypeGuard(instruction.propagatedType, state++, inputs);
|
| work.guards.add(guard);
|
| instruction.block.rewrite(instruction, guard);
|
| HInstruction insertionPoint = (instruction is HPhi)
|
|
|