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

Issue 1262343002: [turbofan]: Add better encapsulation to LinkageLocation (Closed)

Created:
5 years, 4 months ago by danno
Modified:
5 years, 4 months ago
Reviewers:
Benedikt Meurer, titzer
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan]: Add better encapsulation to LinkageLocation Add factory methods for different types of LinkageLocations, and ensure that accesses to the underlying data in the location are classified by type and funneled through explicit accessors. Also change the representation of LinkageLocation to use a BitField rather than using a reserved section of the integer range. Committed: https://crrev.com/3c9f69d399384a5ad095b1f35cb6804d3d4062f6 Cr-Commit-Position: refs/heads/master@{#29938}

Patch Set 1 #

Patch Set 2 : Remove change #

Patch Set 3 : Tweaks #

Total comments: 2

Patch Set 4 : Incremental progress #

Patch Set 5 : Review feedback #

Patch Set 6 : Fix build #

Patch Set 7 : Latest #

Patch Set 8 : Latest #

Patch Set 9 : Really fix it this time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -71 lines) Patch
M src/compiler/c-linkage.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 2 7 1 chunk +8 lines, -10 lines 0 comments Download
M src/compiler/linkage.h View 1 2 3 4 7 1 chunk +59 lines, -15 lines 0 comments Download
M src/compiler/linkage.cc View 1 2 3 4 5 7 4 chunks +11 lines, -11 lines 0 comments Download
M src/compiler/linkage-impl.h View 1 2 3 4 5 7 5 chunks +7 lines, -11 lines 0 comments Download
M test/unittests/compiler/linkage-tail-call-unittest.cc View 1 2 7 2 chunks +7 lines, -3 lines 0 comments Download
M test/unittests/compiler/tail-call-optimization-unittest.cc View 7 6 chunks +24 lines, -18 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
danno
PTAL
5 years, 4 months ago (2015-07-30 11:42:54 UTC) #2
Benedikt Meurer
LGTM with nit. Love it, thanks :-) https://codereview.chromium.org/1262343002/diff/40001/src/compiler/linkage.h File src/compiler/linkage.h (right): https://codereview.chromium.org/1262343002/diff/40001/src/compiler/linkage.h#newcode61 src/compiler/linkage.h:61: class IsRegisterField ...
5 years, 4 months ago (2015-07-30 11:46:11 UTC) #3
danno
Feedback addressed... landing. https://codereview.chromium.org/1262343002/diff/40001/src/compiler/linkage.h File src/compiler/linkage.h (right): https://codereview.chromium.org/1262343002/diff/40001/src/compiler/linkage.h#newcode61 src/compiler/linkage.h:61: class IsRegisterField : public BitField<bool, 0, ...
5 years, 4 months ago (2015-07-30 14:06:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262343002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262343002/80001
5 years, 4 months ago (2015-07-30 14:06:24 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/4895)
5 years, 4 months ago (2015-07-30 14:07:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262343002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262343002/100001
5 years, 4 months ago (2015-07-30 14:10:54 UTC) #12
commit-bot: I haz the power
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/2835)
5 years, 4 months ago (2015-07-30 14:14:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262343002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262343002/160001
5 years, 4 months ago (2015-07-30 14:37:07 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 4 months ago (2015-07-30 14:52:18 UTC) #18
commit-bot: I haz the power
5 years, 4 months ago (2015-07-30 14:52:51 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/3c9f69d399384a5ad095b1f35cb6804d3d4062f6
Cr-Commit-Position: refs/heads/master@{#29938}

Powered by Google App Engine
This is Rietveld 408576698