Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 10f47556d2252168d5097e1b75dedca88cbc5538..43fe9ada259d72a8cae46c1f7d3cd768669a8e47 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -591,7 +591,7 @@ void Verifier::Visitor::Check(Node* node) { |
break; |
} |
case IrOpcode::kJSForInNext: { |
- CheckUpperIs(node, Type::Union(Type::Name(), Type::Undefined())); |
+ CheckUpperIs(node, Type::Union(Type::Name(), Type::Undefined(), zone)); |
break; |
} |
case IrOpcode::kJSForInStep: { |