Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 432b702c34c34ae4dfde128ff0d16390a05c6094..88d363c61d70017c050460a280f56bc1d4bd7558 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -636,9 +636,13 @@ void Verifier::Visitor::Check(Node* node) { |
// Type is Boolean. |
CheckTypeIs(node, Type::Boolean()); |
break; |
+ case IrOpcode::kJSClassOf: |
+ // Type is InternaliedString \/ Null. |
+ CheckTypeIs(node, Type::InternalizedStringOrNull()); |
+ break; |
case IrOpcode::kJSTypeOf: |
- // Type is String. |
- CheckTypeIs(node, Type::String()); |
+ // Type is InternalizedString. |
+ CheckTypeIs(node, Type::InternalizedString()); |
break; |
case IrOpcode::kJSGetSuperConstructor: |
// We don't check the input for Type::Function because |