Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 1916b99d27cf48e413b45bf4ef508954c64191ce..188ee3e087e99c5f3b034a520d505a4f0f162bc2 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -540,6 +540,11 @@ void Verifier::Visitor::Pre(Node* node) { |
CheckValueInputIs(node, 0, Type::Number()); |
CheckUpperIs(node, Type::Unsigned32()); |
break; |
+ case IrOpcode::kPlainPrimitiveToNumber: |
+ // PlainPrimitive -> Number |
+ CheckValueInputIs(node, 0, Type::PlainPrimitive()); |
+ CheckUpperIs(node, Type::Number()); |
+ break; |
case IrOpcode::kStringEqual: |
case IrOpcode::kStringLessThan: |
case IrOpcode::kStringLessThanOrEqual: |