|
[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}
Total comments: 2
|
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
|
Total messages: 17 (8 generated)
|