Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 9101e1ddd1a5b1898aae7e69212ca4e82320628a..dc20d847c80176ebe7a0eb4c67bd3bb2bd259058 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1182,7 +1182,7 @@ Bounds Typer::Visitor::TypeJSTypeOf(Node* node) { |
Bounds Typer::Visitor::TypeJSToBoolean(Node* node) { |
- return Bounds(Type::None(zone()), Type::Boolean(zone())); |
+ return TypeUnaryOp(node, ToBoolean); |
} |