Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 70f80cbb6b81868b9dec5b90e7e2442084753e20..ae7a464883672344013edf7335b53358a835c30c 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1044,7 +1044,7 @@ Bounds Typer::Visitor::TypeBooleanNot(Node* node) { |
Bounds Typer::Visitor::TypeBooleanToNumber(Node* node) { |
- return Bounds(Type::None(zone()), Type::Number(zone())); |
+ return Bounds(Type::None(zone()), typer_->zero_or_one); |
} |