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

Issue 1633633002: [Interpreter] Fix deopting from inline functions. (Closed)

Created:
4 years, 11 months ago by rmcilroy
Modified:
4 years, 11 months ago
Reviewers:
Michael Starzinger
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 deopting from inline functions. Rename IntepreterExceptionEntryHandler builtin to InterpreterEnterBytecodeDispatch and use it as the return address when building interpreter frames during deopt. This ensures that we restart execution of the outer frame at the correct bytecode. BUG=v8:4280, v8:4678 LOG=N Committed: https://crrev.com/32eade634f3007d6263f0d2fe9250915e5158029 Cr-Commit-Position: refs/heads/master@{#33512}

Patch Set 1 #

Patch Set 2 : Rebase and add PPC #

Total comments: 2

Patch Set 3 : Move is_interpreter* testers and add a comment #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -36 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/builtins.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/deoptimizer.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/frames.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 chunk +1 line, -2 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 5 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 20 (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/1633633002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633633002/1
4 years, 11 months ago (2016-01-25 15:53:48 UTC) #2
rmcilroy
Michi, PTAL, thanks.
4 years, 11 months ago (2016-01-25 15:54:00 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/9156) v8_linux64_rel_ng on ...
4 years, 11 months ago (2016-01-25 15:54:54 UTC) #6
MTBrandyberry
On 2016/01/25 15:54:54, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 11 months ago (2016-01-25 16:24:37 UTC) #7
rmcilroy
> Can ppc be included for trivial changes like this? Sorry, I meant to include ...
4 years, 11 months ago (2016-01-25 17:26:20 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633633002/20001
4 years, 11 months ago (2016-01-25 17:26:33 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-25 17:58:12 UTC) #12
Michael Starzinger
LGTM. Just one nit to address. https://codereview.chromium.org/1633633002/diff/20001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1633633002/diff/20001/src/objects.h#newcode4949 src/objects.h:4949: inline bool is_interpreter_entry_trampoline(); ...
4 years, 11 months ago (2016-01-26 10:25:13 UTC) #13
rmcilroy
https://codereview.chromium.org/1633633002/diff/20001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1633633002/diff/20001/src/objects.h#newcode4949 src/objects.h:4949: inline bool is_interpreter_entry_trampoline(); On 2016/01/26 10:25:13, Michael Starzinger wrote: ...
4 years, 11 months ago (2016-01-26 11:32:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633633002/60001
4 years, 11 months ago (2016-01-26 11:33:07 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-26 12:22:52 UTC) #18
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 12:23:07 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/32eade634f3007d6263f0d2fe9250915e5158029
Cr-Commit-Position: refs/heads/master@{#33512}

Powered by Google App Engine
This is Rietveld 408576698