From 66febc0aa04a33ca008a0654305cf9b14f9357f2 Mon Sep 17 00:00:00 2001 From: "weiliang.lin@intel.com" Date: Mon, 20 Oct 2014 04:06:06 +0000 Subject: [PATCH] X87: Tick processor: Print C++ entry points. port r24700. original commit message: Tick processor: Print C++ entry points BUG= R=weiliang.lin@intel.com Review URL: https://codereview.chromium.org/662323002 Patch from Chunyang Dai . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x87/macro-assembler-x87.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc index aaa82519f..ff5db7bdb 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); } -- 2.34.1