[deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction.
authorjarin <jarin@chromium.org>
Mon, 3 Aug 2015 12:59:41 +0000 (05:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 3 Aug 2015 12:59:59 +0000 (12:59 +0000)
commit156a155be37a32d4b9a14e31ef605df51bf0ab8a
treef34b90720baa55b53f385d2d9e7ac00dd79ff157
parent53fbbf0296c9652087efa55e6d99b38119b178e2
[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

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

Cr-Commit-Position: refs/heads/master@{#29973}
src/deoptimizer.cc
src/deoptimizer.h
test/mjsunit/regress/regress-514362.js [new file with mode: 0644]