Index: src/compiler/value-numbering-reducer.cc |
diff --git a/src/compiler/value-numbering-reducer.cc b/src/compiler/value-numbering-reducer.cc |
index 734b3e8e8ee870f04b500e2f784849d95dd77505..5e924d7a303434fd6ddaee4e3e0870d8c78cbf1f 100644 |
--- a/src/compiler/value-numbering-reducer.cc |
+++ b/src/compiler/value-numbering-reducer.cc |
@@ -50,7 +50,7 @@ ValueNumberingReducer::~ValueNumberingReducer() {} |
Reduction ValueNumberingReducer::Reduce(Node* node) { |
- if (!node->op()->HasProperty(Operator::kEliminatable)) return NoChange(); |
+ if (!node->op()->HasProperty(Operator::kIdempotent)) return NoChange(); |
const size_t hash = HashCode(node); |
if (!entries_) { |