Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index a170a71512b4be188be53908868e64c3911325ed..c99db26dc10cbada5bf8e90fbc48339a982b900e 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1438,6 +1438,11 @@ Bounds Typer::Visitor::TypeJSDebugger(Node* node) { |
// Simplified operators. |
+Bounds Typer::Visitor::TypeAnyToBoolean(Node* node) { |
+ return TypeUnaryOp(node, ToBoolean); |
+} |
+ |
+ |
Bounds Typer::Visitor::TypeBooleanNot(Node* node) { |
return Bounds(Type::None(zone()), Type::Boolean(zone())); |
} |