Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 84b060f92a60770aefa691241ab13752cd154c10..693b414650596a495711ebee885490e164058a2c 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -482,6 +482,10 @@ void Verifier::Visitor::Pre(Node* node) { |
// Simplified operators |
// ------------------------------- |
+ case IrOpcode::kAnyToBoolean: |
+ // Type is Boolean. |
+ CheckUpperIs(node, Type::Boolean()); |
+ break; |
case IrOpcode::kBooleanNot: |
// Boolean -> Boolean |
CheckValueInputIs(node, 0, Type::Boolean()); |