Revision: 15238
Author:   [email protected]
Date:     Thu Jun 20 05:51:36 2013
Log: Use +kCallerSPOffset instead of -kMarkerOffset to compute the args pointer

[email protected]

Review URL: https://codereview.chromium.org/17451014

Patch from Haitao Feng <[email protected]>.
http://code.google.com/p/v8/source/detail?r=15238

Modified:
 /branches/bleeding_edge/src/deoptimizer.cc

=======================================
--- /branches/bleeding_edge/src/deoptimizer.cc  Wed Jun 19 02:38:28 2013
+++ /branches/bleeding_edge/src/deoptimizer.cc  Thu Jun 20 05:51:36 2013
@@ -1511,8 +1511,8 @@
   }

   output_frame_offset -= kPointerSize;
-  value = frame_ptr - (output_frame_size - output_frame_offset) -
-      StandardFrameConstants::kMarkerOffset + kPointerSize;
+  value = frame_ptr + StandardFrameConstants::kCallerSPOffset -
+      (output_frame_size - output_frame_offset) + kPointerSize;
   output_frame->SetFrameSlot(output_frame_offset, value);
   if (trace_) {
     PrintF("    0x%08" V8PRIxPTR ": [top + %d] <- 0x%08"

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to