X87: Tick processor: Print C++ entry points.
authorweiliang.lin@intel.com <weiliang.lin@intel.com>
Mon, 20 Oct 2014 04:06:06 +0000 (04:06 +0000)
committerweiliang.lin@intel.com <weiliang.lin@intel.com>
Mon, 20 Oct 2014 04:06:06 +0000 (04:06 +0000)
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 <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/x87/macro-assembler-x87.cc

index aaa8251..ff5db7b 100644 (file)
@@ -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);
 }