Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index d827f15399ac55e3c29ca63aa16beb99a73f5115..6ea52b00bc1d6c5caf59f5d0d977bab95537fba9 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -564,6 +564,25 @@ void Verifier::Visitor::Check(Node* node) { |
CheckUpperIs(node, Type::Any()); |
break; |
+ case IrOpcode::kJSForInPrepare: { |
+ // TODO(bmeurer): What are the constraints on thse? |
+ CheckUpperIs(node, Type::Any()); |
+ break; |
+ } |
+ case IrOpcode::kJSForInDone: { |
+ CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
+ break; |
+ } |
+ case IrOpcode::kJSForInNext: { |
+ CheckUpperIs(node, Type::Union(Type::Name(), Type::Undefined())); |
+ break; |
+ } |
+ case IrOpcode::kJSForInStep: { |
+ CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
+ CheckUpperIs(node, Type::UnsignedSmall()); |
+ break; |
+ } |
+ |
case IrOpcode::kJSStackCheck: |
// Type is empty. |
CheckNotTyped(node); |