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

Issue 1314473007: [turbofan] Remove usage of Unique<T> from graph. (Closed)

Created:
5 years, 3 months ago by Michael Starzinger
Modified:
5 years, 3 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] Remove usage of Unique<T> from graph. The usage of Unique<T> throughout the TurboFan IR does not have any advantage. There is no single point in time when they are initialized and most use-sites looked through to the underlying Handle<T> anyways. Also there already was a mixture of Handle<T> versus Unique<T> in the graph and this unifies the situation to use Handle<T> everywhere. R=bmeurer@chromium.org,titzer@chromium.org Committed: https://crrev.com/6e65e6db6c510c320a8433a6793ca1be97d1e52f Cr-Commit-Position: refs/heads/master@{#30458}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix test crashers. #

Patch Set 3 : Fix compilation on Windows. #

Patch Set 4 : Fix compilation on Windows moar. #

Patch Set 5 : Fix compilation on Windows moarer. #

Patch Set 6 : Fix compilation on Windows moarest. #

Patch Set 7 : Fix compilation on Windows moarester. #

Patch Set 8 : Fix compilation on Windows mooooaaaaaaaaar. #

Patch Set 9 : Fix compilation on Windows !@#$%^&^%$#@!!@#$%^&^%$#@!. #

Patch Set 10 : Rebased and fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -276 lines) Patch
M src/compiler/ast-graph-builder.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 6 chunks +8 lines, -9 lines 0 comments Download
M src/compiler/common-operator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/common-operator.cc View 1 chunk +8 lines, -6 lines 0 comments Download
M src/compiler/common-operator-reducer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/interpreter-assembler.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -3 lines 0 comments Download
M src/compiler/js-builtin-reducer.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/js-context-specialization.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-graph.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/compiler/js-graph.cc View 2 chunks +3 lines, -15 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/js-operator.h View 8 chunks +17 lines, -17 lines 0 comments Download
M src/compiler/js-operator.cc View 13 chunks +26 lines, -19 lines 0 comments Download
M src/compiler/js-type-feedback.cc View 7 chunks +5 lines, -7 lines 0 comments Download
M src/compiler/js-type-feedback-lowering.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-typed-lowering.cc View 8 chunks +11 lines, -12 lines 0 comments Download
M src/compiler/node-matchers.h View 1 2 5 chunks +17 lines, -10 lines 0 comments Download
M src/compiler/operator.h View 1 2 3 4 5 6 4 chunks +19 lines, -2 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 2 chunks +2 lines, -7 lines 0 comments Download
M src/compiler/representation-change.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/simplified-operator-reducer.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/handles.h View 1 2 3 4 5 3 chunks +18 lines, -0 lines 0 comments Download
M src/handles-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -10 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/compiler/test-js-constant-cache.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -8 lines 0 comments Download
M test/cctest/compiler/test-representation-change.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 1 2 3 4 5 6 7 8 9 6 chunks +6 lines, -15 lines 0 comments Download
M test/cctest/compiler/test-run-stubs.cc View 3 chunks +4 lines, -8 lines 0 comments Download
M test/cctest/compiler/value-helper.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/change-lowering-unittest.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M test/unittests/compiler/graph-unittest.h View 2 chunks +0 lines, -3 lines 0 comments Download
M test/unittests/compiler/graph-unittest.cc View 2 chunks +7 lines, -18 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M test/unittests/compiler/js-builtin-reducer-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-context-relaxation-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-type-feedback-unittest.cc View 5 chunks +7 lines, -10 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 9 chunks +22 lines, -31 lines 0 comments Download
M test/unittests/compiler/node-test-utils.h View 2 chunks +3 lines, -4 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 2 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Michael Starzinger
https://codereview.chromium.org/1314473007/diff/1/src/compiler/common-operator.h File src/compiler/common-operator.h (right): https://codereview.chromium.org/1314473007/diff/1/src/compiler/common-operator.h#newcode10 src/compiler/common-operator.h:10: #include "src/unique.h" Removal of includes will be done in ...
5 years, 3 months ago (2015-08-28 12:08:45 UTC) #3
titzer
lgtm ich mag
5 years, 3 months ago (2015-08-28 12:20:08 UTC) #4
Benedikt Meurer
LGTM!
5 years, 3 months ago (2015-08-28 12:24:33 UTC) #5
Michael Starzinger
OK, after a tirade of fixes for VC++ I got this to compile on all ...
5 years, 3 months ago (2015-08-28 16:19:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314473007/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314473007/190001
5 years, 3 months ago (2015-08-31 07:59:02 UTC) #10
commit-bot: I haz the power
Committed patchset #10 (id:190001)
5 years, 3 months ago (2015-08-31 08:24:58 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 08:25:16 UTC) #12
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6e65e6db6c510c320a8433a6793ca1be97d1e52f
Cr-Commit-Position: refs/heads/master@{#30458}

Powered by Google App Engine
This is Rietveld 408576698