Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 5e1eae685694f7a621ba3a4b13c96570649298d3..4b5568dc4db588a0f975ee1a3753d7736949b209 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -673,6 +673,11 @@ void Verifier::Visitor::Check(Node* node) { |
CheckValueInputIs(node, 0, Type::Number()); |
CheckUpperIs(node, Type::Unsigned32()); |
break; |
+ case IrOpcode::kNumberIsHoleNaN: |
+ // Number -> Boolean |
+ CheckValueInputIs(node, 0, Type::Number()); |
+ CheckUpperIs(node, Type::Boolean()); |
+ break; |
case IrOpcode::kPlainPrimitiveToNumber: |
// PlainPrimitive -> Number |
CheckValueInputIs(node, 0, Type::PlainPrimitive()); |