Index: src/compiler/graph-reducer.cc |
diff --git a/src/compiler/graph-reducer.cc b/src/compiler/graph-reducer.cc |
index 6f583d6b6ac4e3f59a2c94ed847c8b600b2f8c75..9408efabd410d0838f82e3b5cec6df379b4f4a33 100644 |
--- a/src/compiler/graph-reducer.cc |
+++ b/src/compiler/graph-reducer.cc |
@@ -222,7 +222,8 @@ void GraphReducer::ReplaceWithValue(Node* node, Node* value, Node* effect, |
edge.UpdateTo(dead_); |
Revisit(user); |
} else { |
- UNREACHABLE(); |
+ edge.UpdateTo(control); |
+ Revisit(user); |
} |
} else if (NodeProperties::IsEffectEdge(edge)) { |
DCHECK_NOT_NULL(effect); |