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

Issue 1168693002: [turbofan] Allow ReplaceWithValue to kill control. (Closed)

Created:
5 years, 6 months ago by Michael Starzinger
Modified:
5 years, 6 months ago
Reviewers:
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] Allow ReplaceWithValue to kill control. This allows any AdvancedReducer to remove exception projections from graphs. This is the common case when JS-operators are being replaced with pure values. The old NodeProperties::ReplaceWithValue is being deprecated in favor of AdvancedReducer::ReplaceWithValue. R=titzer@chromium.org TEST=unittests/AdvancedReducerTest Committed: https://crrev.com/8f4d9a0a1e5fc3b761409f851813831aad7dd53f Cr-Commit-Position: refs/heads/master@{#28810}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -53 lines) Patch
M src/compiler/control-reducer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/graph-reducer.h View 1 2 5 chunks +12 lines, -12 lines 0 comments Download
M src/compiler/graph-reducer.cc View 1 3 chunks +10 lines, -5 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 8 chunks +16 lines, -7 lines 0 comments Download
M src/compiler/typer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/verifier.cc View 1 chunk +5 lines, -1 line 0 comments Download
M test/cctest/cctest.status View 1 chunk +0 lines, -3 lines 0 comments Download
M test/cctest/compiler/test-changes-lowering.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-run-jsexceptions.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/graph-reducer-unittest.cc View 1 5 chunks +127 lines, -6 lines 0 comments Download
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-type-feedback-unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
Michael Starzinger
5 years, 6 months ago (2015-06-05 09:02:53 UTC) #1
titzer
https://codereview.chromium.org/1168693002/diff/1/src/compiler/graph-reducer.h File src/compiler/graph-reducer.h (right): https://codereview.chromium.org/1168693002/diff/1/src/compiler/graph-reducer.h#newcode126 src/compiler/graph-reducer.h:126: GraphReducer(Graph* graph, Node* dead_value, Node* dead_control, Zone* zone); Can ...
5 years, 6 months ago (2015-06-05 09:42:26 UTC) #2
Michael Starzinger
Comments addressed. https://codereview.chromium.org/1168693002/diff/1/src/compiler/graph-reducer.h File src/compiler/graph-reducer.h (right): https://codereview.chromium.org/1168693002/diff/1/src/compiler/graph-reducer.h#newcode126 src/compiler/graph-reducer.h:126: GraphReducer(Graph* graph, Node* dead_value, Node* dead_control, Zone* ...
5 years, 6 months ago (2015-06-05 11:06:55 UTC) #3
titzer
lgtm https://codereview.chromium.org/1168693002/diff/20001/src/compiler/graph-reducer.h File src/compiler/graph-reducer.h (right): https://codereview.chromium.org/1168693002/diff/20001/src/compiler/graph-reducer.h#newcode174 src/compiler/graph-reducer.h:174: Node* const dead_value_; Const is like, just your ...
5 years, 6 months ago (2015-06-05 11:30:50 UTC) #4
Michael Starzinger
https://codereview.chromium.org/1168693002/diff/20001/src/compiler/graph-reducer.h File src/compiler/graph-reducer.h (right): https://codereview.chromium.org/1168693002/diff/20001/src/compiler/graph-reducer.h#newcode174 src/compiler/graph-reducer.h:174: Node* const dead_value_; On 2015/06/05 11:30:50, titzer wrote: > ...
5 years, 6 months ago (2015-06-05 11:34:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1168693002/40001
5 years, 6 months ago (2015-06-05 11:38:16 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-05 12:01:59 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 12:02:19 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8f4d9a0a1e5fc3b761409f851813831aad7dd53f
Cr-Commit-Position: refs/heads/master@{#28810}

Powered by Google App Engine
This is Rietveld 408576698