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

Issue 1950913004: [Interpreter] Fix bytecode offset for stack overflows. (Closed)

Created:
4 years, 7 months ago by rmcilroy
Modified:
4 years, 7 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Fix bytecode offset for stack overflows. Rather than pushing zero for the initial bytecode offset, we should push the offset of the first bytecode handler, Smi tagged. This fixes the line number for the top stack frame on overflow errors. BUG=v8:4981 LOG=N Committed: https://crrev.com/d9fd822aa27c0f1d0b7200c20945225b45ea0a6d Cr-Commit-Position: refs/heads/master@{#36137}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Also fixes error-to-sttring-stack-overflow.html #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -66 lines) Patch
M src/arm/builtins-arm.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M src/mips/builtins-mips.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M src/s390/builtins-s390.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M src/s390/macro-assembler-s390.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/x64/builtins-x64.cc View 2 chunks +8 lines, -9 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 2 chunks +3 lines, -6 lines 0 comments Download
M test/mjsunit/stack-traces-overflow.js View 1 chunk +12 lines, -0 lines 0 comments Download
M tools/blink_tests/TestExpectationsIgnition View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950913004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950913004/1
4 years, 7 months ago (2016-05-04 21:36:27 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950913004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950913004/20001
4 years, 7 months ago (2016-05-04 21:40:17 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 22:05:09 UTC) #7
rmcilroy
Yang, please take a look, thanks.
4 years, 7 months ago (2016-05-05 08:29:30 UTC) #9
Yang
LGTM https://codereview.chromium.org/1950913004/diff/20001/tools/blink_tests/TestExpectationsIgnition File tools/blink_tests/TestExpectationsIgnition (right): https://codereview.chromium.org/1950913004/diff/20001/tools/blink_tests/TestExpectationsIgnition#newcode20 tools/blink_tests/TestExpectationsIgnition:20: [ Linux ] fast/dom/error-to-string-stack-overflow.html [ Failure ] Is ...
4 years, 7 months ago (2016-05-09 05:42:22 UTC) #10
rmcilroy
https://codereview.chromium.org/1950913004/diff/20001/tools/blink_tests/TestExpectationsIgnition File tools/blink_tests/TestExpectationsIgnition (right): https://codereview.chromium.org/1950913004/diff/20001/tools/blink_tests/TestExpectationsIgnition#newcode20 tools/blink_tests/TestExpectationsIgnition:20: [ Linux ] fast/dom/error-to-string-stack-overflow.html [ Failure ] On 2016/05/09 ...
4 years, 7 months ago (2016-05-10 11:57:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950913004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950913004/40001
4 years, 7 months ago (2016-05-10 11:57:54 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 7 months ago (2016-05-10 12:29:19 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 12:30:17 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d9fd822aa27c0f1d0b7200c20945225b45ea0a6d
Cr-Commit-Position: refs/heads/master@{#36137}

Powered by Google App Engine
This is Rietveld 408576698