| Index: runtime/vm/intermediate_language_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_ia32.cc (revision 25822)
|
| +++ runtime/vm/intermediate_language_ia32.cc (working copy)
|
| @@ -1070,8 +1070,11 @@
|
| }
|
| __ movl(ECX, Immediate(reinterpret_cast<uword>(native_c_function())));
|
| __ movl(EDX, Immediate(NativeArguments::ComputeArgcTag(function())));
|
| + const ExternalLabel* stub_entry =
|
| + (is_bootstrap_native()) ? &StubCode::CallBootstrapCFunctionLabel() :
|
| + &StubCode::CallNativeCFunctionLabel();
|
| compiler->GenerateCall(token_pos(),
|
| - &StubCode::CallNativeCFunctionLabel(),
|
| + stub_entry,
|
| PcDescriptors::kOther,
|
| locs());
|
| __ popl(result);
|
|
|