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

Issue 1702593002: More simplification and unification of frame handling (Closed)

Created:
4 years, 10 months ago by danno
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, Jarin
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

More simplification and unification of frame handling Frame slots indexes numbers are used more consistently for computation in both TurboFan and Crankshaft. Specifically, Crankshaft now uses frame slot indexes in LChunk, removing the need for some special-case maths when building the deoptimization translation table. LOG=N R=mstarzinger@chromium.org Committed: https://crrev.com/81423b84dbb2eaf7e1a57b0f6029fc8e643b4755 Cr-Commit-Position: refs/heads/master@{#34078} Committed: https://crrev.com/55071954bcd65be6782388624b986e9751899377 Cr-Commit-Position: refs/heads/master@{#34114}

Patch Set 1 #

Patch Set 2 : Fix stuff #

Patch Set 3 : Platform ports #

Total comments: 2

Patch Set 4 : Review feedback #

Patch Set 5 : Fix bogus assert #

Patch Set 6 : Fix build breakage #

Patch Set 7 : Fix other platforms #

Patch Set 8 : Fix arm64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -168 lines) Patch
M src/compiler/code-generator.cc View 1 2 3 4 5 2 chunks +3 lines, -6 lines 0 comments Download
M src/compiler/frame.h View 3 chunks +7 lines, -26 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M src/crankshaft/arm/lithium-arm.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 6 chunks +4 lines, -10 lines 0 comments Download
M src/crankshaft/arm64/lithium-arm64.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 6 7 5 chunks +5 lines, -11 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.h View 1 2 chunks +9 lines, -5 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 chunks +4 lines, -10 lines 0 comments Download
M src/crankshaft/ia32/lithium-ia32.cc View 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M src/crankshaft/lithium.h View 1 3 chunks +9 lines, -4 lines 0 comments Download
M src/crankshaft/lithium.cc View 3 chunks +4 lines, -18 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 6 chunks +4 lines, -10 lines 0 comments Download
M src/crankshaft/mips/lithium-mips.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 6 6 chunks +5 lines, -11 lines 0 comments Download
M src/crankshaft/mips64/lithium-mips64.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 5 chunks +3 lines, -9 lines 0 comments Download
M src/crankshaft/x64/lithium-x64.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/frames.h View 1 2 3 2 chunks +46 lines, -0 lines 0 comments Download
M src/frames.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/isolate.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 39 (21 generated)
danno
PTAL
4 years, 10 months ago (2016-02-17 07:39:16 UTC) #2
danno
PATL
4 years, 10 months ago (2016-02-17 11:39:22 UTC) #4
Jarin
lgtm. https://codereview.chromium.org/1702593002/diff/40001/src/frames.h File src/frames.h (right): https://codereview.chromium.org/1702593002/diff/40001/src/frames.h#newcode136 src/frames.h:136: // 1 | saved frame ptr | Fixed ...
4 years, 10 months ago (2016-02-17 11:48:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702593002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702593002/60001
4 years, 10 months ago (2016-02-17 12:21:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/15574)
4 years, 10 months ago (2016-02-17 12:42:16 UTC) #11
danno
https://codereview.chromium.org/1702593002/diff/40001/src/frames.h File src/frames.h (right): https://codereview.chromium.org/1702593002/diff/40001/src/frames.h#newcode136 src/frames.h:136: // 1 | saved frame ptr | Fixed | ...
4 years, 10 months ago (2016-02-17 12:52:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702593002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702593002/80001
4 years, 10 months ago (2016-02-17 12:52:35 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-17 13:19:10 UTC) #17
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/81423b84dbb2eaf7e1a57b0f6029fc8e643b4755 Cr-Commit-Position: refs/heads/master@{#34078}
4 years, 10 months ago (2016-02-17 13:19:36 UTC) #19
Michael Starzinger
LGTM.
4 years, 10 months ago (2016-02-17 14:08:37 UTC) #20
Michael Achenbach
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1708583002/ by machenbach@chromium.org. ...
4 years, 10 months ago (2016-02-17 14:48:53 UTC) #21
danno
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1707703002/ by danno@chromium.org. ...
4 years, 10 months ago (2016-02-17 15:44:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702593002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702593002/100001
4 years, 10 months ago (2016-02-18 08:47:42 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: v8_win64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/3094) v8_win64_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 10 months ago (2016-02-18 09:07:04 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702593002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702593002/120001
4 years, 10 months ago (2016-02-18 11:12:49 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702593002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702593002/140001
4 years, 10 months ago (2016-02-18 12:50:13 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 10 months ago (2016-02-18 12:51:54 UTC) #37
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 12:52:10 UTC) #39
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/55071954bcd65be6782388624b986e9751899377
Cr-Commit-Position: refs/heads/master@{#34114}

Powered by Google App Engine
This is Rietveld 408576698