Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index 7339ef80be229e3a194c248680b682a5663d51a4..31476e1e2f8298fd0c9e46bf39a93d431499fceb 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -786,8 +786,8 @@ void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
const StubEntry* stub_entry; |
if (link_lazily()) { |
stub_entry = StubCode::CallBootstrapCFunction_entry(); |
- __ LoadNativeEntry( |
- RBX, &NativeEntry::LinkNativeCallLabel(), kPatchable); |
+ ExternalLabel label(NativeEntry::LinkNativeCallEntry()); |
+ __ LoadNativeEntry(RBX, &label, kPatchable); |
} else { |
stub_entry = (is_bootstrap_native() || is_leaf_call) |
? StubCode::CallBootstrapCFunction_entry() |