Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 9f886e6b7045a3f6c5ecb6316ea590456bd87d71..5f1df77736efd3081d40863f8334d11ea86aaa69 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -584,7 +584,9 @@ void Verifier::Visitor::Check(Node* node) { |
break; |
} |
case IrOpcode::kJSForInDone: { |
- CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
+ // TODO(bmeurer): OSR breaks this invariant, although the node is not user |
+ // visible, so we know it is safe (fullcodegen has an unsigned smi there). |
+ // CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
break; |
} |
case IrOpcode::kJSForInNext: { |
@@ -592,7 +594,9 @@ void Verifier::Visitor::Check(Node* node) { |
break; |
} |
case IrOpcode::kJSForInStep: { |
- CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
+ // TODO(bmeurer): OSR breaks this invariant, although the node is not user |
+ // visible, so we know it is safe (fullcodegen has an unsigned smi there). |
+ // CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
CheckUpperIs(node, Type::UnsignedSmall()); |
break; |
} |