Use +kCallerSPOffset instead of -kMarkerOffset to compute the args pointer
R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/17451014 Patch from Haitao Feng <haitao.feng@intel.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15238 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a74f511e61
commit
697bee6157
@ -1511,8 +1511,8 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator,
|
||||
}
|
||||
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user