Index: src/compiler/change-lowering.cc |
diff --git a/src/compiler/change-lowering.cc b/src/compiler/change-lowering.cc |
index 0057b10f819aa986ce6767301d51f59ac78ca083..6b39e92f6dfb62ec7d7b19d192d2d6d6d9cca4ce 100644 |
--- a/src/compiler/change-lowering.cc |
+++ b/src/compiler/change-lowering.cc |
@@ -202,6 +202,7 @@ bool CanCover(Node* value, IrOpcode::Value opcode) { |
if (value->opcode() != opcode) return false; |
bool first = true; |
for (Edge const edge : value->use_edges()) { |
+ if (NodeProperties::IsControlEdge(edge)) continue; |
if (NodeProperties::IsEffectEdge(edge)) continue; |
DCHECK(NodeProperties::IsValueEdge(edge)); |
if (!first) return false; |