|
[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}
Total comments: 4
Total comments: 2
|
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
|
Total messages: 10 (2 generated)
|