| Index: runtime/vm/intermediate_language_x64.cc
 | 
| diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
 | 
| index 8c164fcdbd3d0d6e1affa61abf269cce71f4a725..779a3ee8a6a6fb790699e28d24bfb588eb478ef6 100644
 | 
| --- a/runtime/vm/intermediate_language_x64.cc
 | 
| +++ b/runtime/vm/intermediate_language_x64.cc
 | 
| @@ -775,8 +775,6 @@ void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
 | 
|    SetupNative();
 | 
|    Register result = locs()->out(0).reg();
 | 
|    const intptr_t argc_tag = NativeArguments::ComputeArgcTag(function());
 | 
| -  const bool is_leaf_call =
 | 
| -      (argc_tag & NativeArguments::AutoSetupScopeMask()) == 0;
 | 
|  
 | 
|    // Push the result place holder initialized to NULL.
 | 
|    __ PushObject(Object::null_object());
 | 
| @@ -794,9 +792,9 @@ void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
 | 
|      ExternalLabel label(NativeEntry::LinkNativeCallEntry());
 | 
|      __ LoadNativeEntry(RBX, &label, kPatchable);
 | 
|    } else {
 | 
| -    stub_entry = (is_bootstrap_native() || is_leaf_call)
 | 
| -        ? StubCode::CallBootstrapCFunction_entry()
 | 
| -        : StubCode::CallNativeCFunction_entry();
 | 
| +    stub_entry = (is_bootstrap_native()) ?
 | 
| +        StubCode::CallBootstrapCFunction_entry() :
 | 
| +        StubCode::CallNativeCFunction_entry();
 | 
|      const ExternalLabel label(reinterpret_cast<uword>(native_c_function()));
 | 
|      __ LoadNativeEntry(RBX, &label, kNotPatchable);
 | 
|    }
 | 
| 
 |