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

Issue 530783002: Convert Linkage to use MachineSignature. (Closed)

Created:
6 years, 3 months ago by titzer
Modified:
6 years, 3 months ago
Reviewers:
Benedikt Meurer, Jarin
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Convert Linkage to use MachineSignature. This simplifies the handling of MachineTypes for parameters and returns used in tests, and overall improves the regularity with which they are handled in both tests and in CallDescriptor. R=bmeurer@chromium.org, jarin@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=23638

Patch Set 1 #

Total comments: 39

Patch Set 2 : Convert Signature<T> to use size_t. #

Patch Set 3 : Object::Print fix. #

Patch Set 4 : More spreading of size_t. #

Patch Set 5 : Another try at size_t. Staunch the bleeding. #

Total comments: 11

Patch Set 6 : Another attempt at size_t. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+897 lines, -803 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 2 chunks +9 lines, -4 lines 0 comments Download
M src/compiler/arm/linkage-arm.cc View 1 2 3 4 5 6 2 chunks +11 lines, -12 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M src/compiler/arm64/linkage-arm64.cc View 1 2 3 4 5 6 2 chunks +11 lines, -12 lines 0 comments Download
M src/compiler/common-operator.h View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 0 comments Download
M src/compiler/graph.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M src/compiler/ia32/linkage-ia32.cc View 1 2 3 4 5 6 2 chunks +10 lines, -12 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 chunks +23 lines, -16 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 2 3 5 chunks +12 lines, -9 lines 0 comments Download
M src/compiler/instruction-selector-unittest.h View 1 2 chunks +43 lines, -40 lines 0 comments Download
M src/compiler/instruction-selector-unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M src/compiler/linkage.h View 1 2 3 4 5 6 5 chunks +68 lines, -39 lines 0 comments Download
M src/compiler/linkage.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/linkage-impl.h View 1 2 3 4 5 6 1 chunk +155 lines, -134 lines 0 comments Download
M src/compiler/machine-node-factory.h View 2 chunks +3 lines, -25 lines 0 comments Download
M src/compiler/machine-type.h View 1 2 3 4 5 6 2 chunks +55 lines, -15 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 4 chunks +10 lines, -15 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 2 3 4 5 6 4 chunks +18 lines, -14 lines 0 comments Download
M src/compiler/structured-machine-assembler.h View 1 2 chunks +8 lines, -14 lines 0 comments Download
M src/compiler/structured-machine-assembler.cc View 1 2 3 2 chunks +12 lines, -9 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/x64/linkage-x64.cc View 1 2 3 4 5 6 2 chunks +10 lines, -12 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 1 chunk +316 lines, -315 lines 0 comments Download
M test/cctest/compiler/call-tester.h View 1 2 chunks +26 lines, -20 lines 0 comments Download
M test/cctest/compiler/codegen-tester.h View 2 chunks +7 lines, -14 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 2 3 4 5 2 chunks +5 lines, -9 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.cc View 1 2 3 4 4 chunks +11 lines, -22 lines 0 comments Download
M test/cctest/compiler/test-codegen-deopt.cc View 1 2 9 chunks +32 lines, -19 lines 0 comments Download
M test/cctest/compiler/test-linkage.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
titzer
6 years, 3 months ago (2014-09-01 13:01:47 UTC) #1
Benedikt Meurer
First round of comments. General note: Please use either parameter_count or param_count consistently. https://codereview.chromium.org/530783002/diff/1/src/compiler/linkage.h File ...
6 years, 3 months ago (2014-09-02 08:37:43 UTC) #2
titzer
https://codereview.chromium.org/530783002/diff/1/src/compiler/linkage.h File src/compiler/linkage.h (right): https://codereview.chromium.org/530783002/diff/1/src/compiler/linkage.h#newcode202 src/compiler/linkage.h:202: MachineType GetParameterType(int index) { On 2014/09/02 08:37:41, Benedikt Meurer ...
6 years, 3 months ago (2014-09-02 12:13:53 UTC) #3
Benedikt Meurer
LGTM with nits. https://codereview.chromium.org/530783002/diff/80001/src/compiler/arm/linkage-arm.cc File src/compiler/arm/linkage-arm.cc (right): https://codereview.chromium.org/530783002/diff/80001/src/compiler/arm/linkage-arm.cc#newcode17 src/compiler/arm/linkage-arm.cc:17: struct ArmLinkageHelperTraits { I think this ...
6 years, 3 months ago (2014-09-02 19:00:34 UTC) #4
titzer
6 years, 3 months ago (2014-09-03 10:13:47 UTC) #5
Message was sent while issue was closed.
Committed patchset #7 manually as 23638 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698