Index: runtime/vm/flow_graph_compiler_ia32.cc |
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc |
index c795cfc8e8e25d768f29ae40b8269693cbfab52c..15761b3c4210d39e308eeac76e768f2e171a7ff1 100644 |
--- a/runtime/vm/flow_graph_compiler_ia32.cc |
+++ b/runtime/vm/flow_graph_compiler_ia32.cc |
@@ -49,9 +49,10 @@ void DeoptimizationStub::GenerateCode(FlowGraphCompiler* compiler) { |
if (loc.IsInvalid()) { |
ASSERT(values[i]->IsConstant()); |
__ PushObject(values[i]->AsConstant()->value()); |
- } else { |
- ASSERT(loc.IsRegister()); |
+ } else if (loc.IsRegister()) { |
__ pushl(loc.reg()); |
+ } else { |
+ compiler->Bailout("unsupported deoptimization state"); |
} |
} |
} |