| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index 1c83fc2cb0e6d41ae6bd5a1daa55f7b663fbd336..c4af35e16dd1b04db09fcf76e59199266dd8eb2e 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -644,6 +644,11 @@ Bounds Typer::Visitor::TypeBooleanNot(Node* node) {
|
| }
|
|
|
|
|
| +Bounds Typer::Visitor::TypeBooleanToNumber(Node* node) {
|
| + return Bounds(Type::Number(zone()));
|
| +}
|
| +
|
| +
|
| Bounds Typer::Visitor::TypeNumberEqual(Node* node) {
|
| return Bounds(Type::Boolean(zone()));
|
| }
|
|
|