Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index aaa82519f2b27f0756b682d8dc46df5eeff3dc04..ff5db7bdbd0bfd0c208038a0068acc7019b39012 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -906,8 +906,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); |
} |