| Index: runtime/vm/intermediate_language_x64.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_x64.cc (revision 25822)
|
| +++ runtime/vm/intermediate_language_x64.cc (working copy)
|
| @@ -1068,8 +1068,11 @@
|
| }
|
| __ movq(RBX, Immediate(reinterpret_cast<uword>(native_c_function())));
|
| __ movq(R10, 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());
|
| __ popq(result);
|
|
|