Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index ff79140233a5f81bb9d31db7764f0eb216ca25ac..b56d0401a0aec7cb9312c199a249cb23e8cce9c2 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -518,6 +518,10 @@ void Verifier::Visitor::Check(Node* node) { |
// Type is Function. |
CheckUpperIs(node, Type::Function()); |
break; |
+ case IrOpcode::kJSCreateIterResultObject: |
+ // Type is OtherObject. |
+ CheckUpperIs(node, Type::OtherObject()); |
+ break; |
case IrOpcode::kJSCreateLiteralArray: |
case IrOpcode::kJSCreateLiteralObject: |
case IrOpcode::kJSCreateLiteralRegExp: |