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

Issue 1604543002: [compiler] Remove CodeStub from CompilationInfo (Closed)

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

Description

[compiler] Remove CodeStub from CompilationInfo The motivation for this is that CompilationInfo really shouldn't explicitly know anything about CodeStubs. This is evident in the TurboFan stubs pipeline, which only needs to pass down information about Code::Flags to the code generator and not any of the CallInterfaceDescriptor silliness that Hydrogen has to push around, since TF has the Linkage class that encapsulates everything that is needed for the stub ABI. So, instead of threading CodeStub machinery through the TF stub pipeline, it is now removed from CompilationInfo and replaced by only the explicit bits needed both by the Crankshaft and TF pipelines in code generation. Committed: https://crrev.com/d1d0196473e6919b222bf98a9fd9093805a5c5bc Cr-Commit-Position: refs/heads/master@{#33410}

Patch Set 1 #

Patch Set 2 : Iteration #

Patch Set 3 : It's dead, Jim #

Patch Set 4 : All tests pass #

Patch Set 5 : Nits #

Patch Set 6 : Platform port #

Patch Set 7 : Fix PPC #

Total comments: 6

Patch Set 8 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -133 lines) Patch
M src/code-stubs.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M src/code-stubs.cc View 2 chunks +7 lines, -1 line 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 7 chunks +20 lines, -16 lines 0 comments Download
M src/codegen.cc View 1 1 chunk +1 line, -10 lines 0 comments Download
M src/compiler.h View 1 2 3 4 7 chunks +12 lines, -13 lines 0 comments Download
M src/compiler.cc View 1 2 3 chunks +8 lines, -26 lines 0 comments Download
M src/compiler/code-stub-assembler.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/code-stub-assembler.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/fast-accessor-assembler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/linkage.cc View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M src/compiler/pipeline.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M src/crankshaft/arm/lithium-arm.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/arm64/lithium-arm64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 2 4 chunks +7 lines, -2 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 5 chunks +5 lines, -6 lines 0 comments Download
M src/crankshaft/ia32/lithium-ia32.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips/lithium-mips.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-mips64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-x64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/compiler/test-code-stub-assembler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-linkage.cc View 1 2 3 4 5 6 7 2 chunks +14 lines, -14 lines 0 comments Download
M test/cctest/compiler/test-run-stubs.cc View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
danno
PTAL
4 years, 11 months ago (2016-01-18 16:04:58 UTC) #4
Benedikt Meurer
Nice, LGTM.
4 years, 11 months ago (2016-01-19 06:09:32 UTC) #6
Michael Starzinger
LGTM, I like it, just nits. https://codereview.chromium.org/1604543002/diff/120001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1604543002/diff/120001/src/compiler/wasm-compiler.cc#newcode1854 src/compiler/wasm-compiler.cc:1854: // TODO(titzer): this ...
4 years, 11 months ago (2016-01-19 09:37:03 UTC) #7
danno
Feedback addressed, landing. https://codereview.chromium.org/1604543002/diff/120001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1604543002/diff/120001/src/compiler/wasm-compiler.cc#newcode1854 src/compiler/wasm-compiler.cc:1854: // TODO(titzer): this is technically a ...
4 years, 11 months ago (2016-01-20 14:56:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1604543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1604543002/140001
4 years, 11 months ago (2016-01-20 14:56:28 UTC) #11
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 11 months ago (2016-01-20 15:17:47 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 15:18:19 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d1d0196473e6919b222bf98a9fd9093805a5c5bc
Cr-Commit-Position: refs/heads/master@{#33410}

Powered by Google App Engine
This is Rietveld 408576698