| Index: runtime/vm/intermediate_language_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_ia32.cc (revision 40376)
|
| +++ runtime/vm/intermediate_language_ia32.cc (working copy)
|
| @@ -5357,12 +5357,6 @@
|
|
|
|
|
| void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| - Label* deopt = compiler->AddDeoptStub(
|
| - deopt_id(), ICData::kDeoptPolymorphicInstanceCallTestFail);
|
| - if (ic_data().NumberOfUsedChecks() == 0) {
|
| - __ jmp(deopt);
|
| - return;
|
| - }
|
| ASSERT(ic_data().NumArgsTested() == 1);
|
| if (!with_checks()) {
|
| ASSERT(ic_data().HasOneTarget());
|
| @@ -5381,6 +5375,8 @@
|
| __ movl(EAX,
|
| Address(ESP, (instance_call()->ArgumentCount() - 1) * kWordSize));
|
|
|
| + Label* deopt = compiler->AddDeoptStub(
|
| + deopt_id(), ICData::kDeoptPolymorphicInstanceCallTestFail);
|
| LoadValueCid(compiler, EDI, EAX,
|
| (ic_data().GetReceiverClassIdAt(0) == kSmiCid) ? NULL : deopt);
|
|
|
|
|