Index: src/compiler/dead-code-elimination.cc |
diff --git a/src/compiler/dead-code-elimination.cc b/src/compiler/dead-code-elimination.cc |
index 81bf2997e670262b8e6bf26955b86f0af3bc86ac..c346c8d85652887220583d63c43f6352f91dda5b 100644 |
--- a/src/compiler/dead-code-elimination.cc |
+++ b/src/compiler/dead-code-elimination.cc |
@@ -18,8 +18,9 @@ DeadCodeElimination::DeadCodeElimination(Editor* editor, Graph* graph, |
: AdvancedReducer(editor), |
graph_(graph), |
common_(common), |
- dead_(graph->NewNode(common->Dead())) {} |
- |
+ dead_(graph->NewNode(common->Dead())) { |
+ NodeProperties::SetType(dead_, Type::None()); |
+} |
Reduction DeadCodeElimination::Reduce(Node* node) { |
switch (node->opcode()) { |