Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 9c0a3550eb81cc87ccac487f21ac8675f43b94e4..098415e28151e6ce3b83c43418dfa63c6e356d4f 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -942,8 +942,10 @@ void MacroAssembler::EnterExitFramePrologue() { |
// Save the frame pointer and the context in top. |
ExternalReference c_entry_fp_address(Isolate::kCEntryFPAddress, isolate()); |
ExternalReference context_address(Isolate::kContextAddress, isolate()); |
+ ExternalReference c_function_address(Isolate::kCFunctionAddress, isolate()); |
mov(Operand::StaticVariable(c_entry_fp_address), ebp); |
mov(Operand::StaticVariable(context_address), esi); |
+ mov(Operand::StaticVariable(c_function_address), ebx); |
} |