Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index e7869d3cd4cfde164ef8581cf12acce67def909e..7e6a0dea5ea1928c9b30058a6bd1216852802e45 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -798,6 +798,12 @@ void Verifier::Visitor::Check(Node* node) { |
CheckValueInputIs(node, 0, Type::Number()); |
CheckUpperIs(node, Type::Unsigned32()); |
break; |
+ case IrOpcode::kNumberToString: |
+ // (Number, [2,36]) -> String |
+ CheckValueInputIs(node, 0, Type::Number()); |
+ CheckValueInputIs(node, 1, Type::Unsigned30()); |
+ CheckUpperIs(node, Type::String()); |
+ break; |
case IrOpcode::kPlainPrimitiveToNumber: |
// PlainPrimitive -> Number |
CheckValueInputIs(node, 0, Type::PlainPrimitive()); |