| Index: src/compiler/graph-reducer.cc
|
| diff --git a/src/compiler/graph-reducer.cc b/src/compiler/graph-reducer.cc
|
| index 9f550c9eb8a5418123f80a896e44c44ccb11cfa9..9460e6ca9611e3f074b01440d37f4077523c79b6 100644
|
| --- a/src/compiler/graph-reducer.cc
|
| +++ b/src/compiler/graph-reducer.cc
|
| @@ -25,15 +25,17 @@ enum class GraphReducer::State : uint8_t {
|
|
|
| void Reducer::Finalize() {}
|
|
|
| -
|
| GraphReducer::GraphReducer(Zone* zone, Graph* graph, Node* dead)
|
| : graph_(graph),
|
| dead_(dead),
|
| state_(graph, 4),
|
| reducers_(zone),
|
| revisit_(zone),
|
| - stack_(zone) {}
|
| -
|
| + stack_(zone) {
|
| + if (dead != nullptr) {
|
| + NodeProperties::SetType(dead_, Type::None());
|
| + }
|
| +}
|
|
|
| GraphReducer::~GraphReducer() {}
|
|
|
|
|