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

Issue 1707133003: [Interpreter] Fix deopt when accumulator needs to be materialized. (Closed)

Created:
4 years, 10 months ago by rmcilroy
Modified:
4 years, 10 months ago
Reviewers:
Jarin
CC:
v8-reviews_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 deopt when accumulator needs to be materialized. Moves the accumulator value on-heap to be restored in the InterpreterNotifyDeopt handler rather than explicitly setting the accumulator register. This allows it to be materialized correctly if required. BUG=v8:4678 LOG=N Committed: https://crrev.com/9a26c1aee23943b37f411872169d6de284f58eb7 Cr-Commit-Position: refs/heads/master@{#34113}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address comments and add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -62 lines) Patch
M src/arm/builtins-arm.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/compiler/code-generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/deoptimizer.cc View 1 4 chunks +23 lines, -16 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/ppc/builtins-ppc.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 chunk +3 lines, -5 lines 0 comments Download
A + test/mjsunit/compiler/deopt-materialize-accumulator.js View 1 1 chunk +11 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (11 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/1707133003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707133003/20001
4 years, 10 months ago (2016-02-17 22:46:23 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-17 23:20:34 UTC) #5
Jarin
https://codereview.chromium.org/1707133003/diff/20001/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1707133003/diff/20001/src/deoptimizer.cc#newcode1280 src/deoptimizer.cc:1280: // Set the accumulator. If we are lazy deopting ...
4 years, 10 months ago (2016-02-18 10:05:54 UTC) #7
rmcilroy
https://codereview.chromium.org/1707133003/diff/20001/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1707133003/diff/20001/src/deoptimizer.cc#newcode1280 src/deoptimizer.cc:1280: // Set the accumulator. If we are lazy deopting ...
4 years, 10 months ago (2016-02-18 11:50:40 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1707133003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707133003/60001
4 years, 10 months ago (2016-02-18 11:50:43 UTC) #11
rmcilroy
Thanks for the test!
4 years, 10 months ago (2016-02-18 11:50:50 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1707133003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707133003/80001
4 years, 10 months ago (2016-02-18 11:52:17 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-18 12:13:00 UTC) #17
Jarin
lgtm. Thanks!
4 years, 10 months ago (2016-02-18 12:36:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1707133003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707133003/80001
4 years, 10 months ago (2016-02-18 12:46:29 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 10 months ago (2016-02-18 12:50:02 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 12:50:48 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9a26c1aee23943b37f411872169d6de284f58eb7
Cr-Commit-Position: refs/heads/master@{#34113}

Powered by Google App Engine
This is Rietveld 408576698