Index: runtime/vm/intermediate_language_mips.cc |
diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc |
index 8c03d9383e69b40404534249e2b5c700de404aac..1cd334db1ac9e92c7623aa88b6b705da0959f3a8 100644 |
--- a/runtime/vm/intermediate_language_mips.cc |
+++ b/runtime/vm/intermediate_language_mips.cc |
@@ -997,11 +997,7 @@ void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
const StubEntry* stub_entry; |
if (link_lazily()) { |
stub_entry = StubCode::CallBootstrapCFunction_entry(); |
- entry = reinterpret_cast<uword>(&NativeEntry::LinkNativeCall); |
-#if defined(USING_SIMULATOR) |
- entry = Simulator::RedirectExternalReference( |
- entry, Simulator::kBootstrapNativeCall, NativeEntry::kNumArguments); |
-#endif |
+ entry = NativeEntry::LinkNativeCallEntry(); |
} else { |
entry = reinterpret_cast<uword>(native_c_function()); |
if (is_bootstrap_native() || is_leaf_call) { |