Index: runtime/vm/intermediate_language_ia32.cc |
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc |
index 46b2802eb4297439f9eaeec7e83e98b3e692c498..187e07141d2bb0b0b62fb6cb81ae9b2c0a129f1a 100644 |
--- a/runtime/vm/intermediate_language_ia32.cc |
+++ b/runtime/vm/intermediate_language_ia32.cc |
@@ -2124,15 +2124,9 @@ void CreateArrayInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
const Code& stub = Code::ZoneHandle(compiler->zone(), |
StubCode::AllocateArray_entry()->code()); |
compiler->AddStubCallTarget(stub); |
- if (deopt_id() == Thread::kNoDeoptId) { |
- ASSERT(compiler->is_optimizing()); |
- compiler->GenerateCall(token_pos(), *StubCode::AllocateArray_entry(), |
- RawPcDescriptors::kOther, locs()); |
- } else { |
- compiler->GenerateCallWithDeopt(token_pos(), deopt_id(), |
- *StubCode::AllocateArray_entry(), |
- RawPcDescriptors::kOther, locs()); |
- } |
+ compiler->GenerateCallWithDeopt(token_pos(), deopt_id(), |
+ *StubCode::AllocateArray_entry(), |
+ RawPcDescriptors::kOther, locs()); |
__ Bind(&done); |
ASSERT(locs()->out(0).reg() == kResultReg); |
} |