Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Issue 1264483008: [deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction. (Closed)

Created:
5 years, 4 months ago by Jarin
Modified:
5 years, 4 months ago
Reviewers:
Yang
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction. The calculation now takes into account the size of the arguments object if it is present in the optimized frame. (Yang, many thanks for the awesome repro!) BUG=chromium:514362 LOG=N R=yangguo@chromium.org Committed: https://crrev.com/156a155be37a32d4b9a14e31ef605df51bf0ab8a Cr-Commit-Position: refs/heads/master@{#29973}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Tweak #

Patch Set 3 : Reuse ComputeOutgoingArgumentSize() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -16 lines) Patch
M src/deoptimizer.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/deoptimizer.cc View 1 3 chunks +11 lines, -5 lines 0 comments Download
A + test/mjsunit/regress/regress-514362.js View 1 chunk +11 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Jarin
Could you take a look, please?
5 years, 4 months ago (2015-08-03 11:32:38 UTC) #1
Yang
LGTM with a comment. https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc#newcode160 src/deoptimizer.cc:160: data->ArgumentsStackHeight(deoptimization_index)->value() * kPointerSize; ComputeOutgoingArgumentSize() contains ...
5 years, 4 months ago (2015-08-03 11:35:14 UTC) #2
Jarin
https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc#newcode160 src/deoptimizer.cc:160: data->ArgumentsStackHeight(deoptimization_index)->value() * kPointerSize; On 2015/08/03 11:35:14, Yang wrote: > ...
5 years, 4 months ago (2015-08-03 11:48:23 UTC) #3
Yang
On 2015/08/03 11:48:23, Jarin wrote: > https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc > File src/deoptimizer.cc (right): > > https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc#newcode160 > ...
5 years, 4 months ago (2015-08-03 12:14:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264483008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264483008/40001
5 years, 4 months ago (2015-08-03 12:57:55 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-03 12:59:46 UTC) #7
commit-bot: I haz the power
5 years, 4 months ago (2015-08-03 13:00:11 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/156a155be37a32d4b9a14e31ef605df51bf0ab8a
Cr-Commit-Position: refs/heads/master@{#29973}

Powered by Google App Engine
This is Rietveld 408576698