Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 7e53cd74e059030b815ba176da88434b4e653e12..5cf7937c2bffa54bd6512ecef1c3e024e0382efc 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -761,6 +761,11 @@ void Verifier::Visitor::Check(Node* node) { |
CheckValueInputIs(node, 1, Type::String()); |
CheckUpperIs(node, Type::Boolean()); |
break; |
+ case IrOpcode::kStringFromCharCode: |
+ // Number -> String |
+ CheckValueInputIs(node, 0, Type::Number()); |
+ CheckUpperIs(node, Type::String()); |
+ break; |
case IrOpcode::kStringToNumber: |
// String -> Number |
CheckValueInputIs(node, 0, Type::String()); |