Index: runtime/vm/stub_code_ia32.cc |
diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc |
index cfaab2842ab6bb1db93240ce201c2ce2cdac9964..f070b1be656e761e9c077e9a5b846c050801e3f3 100644 |
--- a/runtime/vm/stub_code_ia32.cc |
+++ b/runtime/vm/stub_code_ia32.cc |
@@ -179,7 +179,8 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) { |
__ movl(Address(ESP, 0), EAX); // Pass the pointer to the NativeArguments. |
__ movl(Address(ESP, kWordSize), ECX); // Function to call. |
- __ call(&NativeEntry::NativeCallWrapperLabel()); |
+ ExternalLabel label(NativeEntry::NativeCallWrapperEntry()); |
+ __ call(&label); |
// Mark that the isolate is executing Dart code. EDI is callee saved. |
__ movl(Address(EDI, Isolate::vm_tag_offset()), |