| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index ff9ef1a21ff6d6f930ac95fa7777e639cbaccd12..3274e4aff236b446f57ecaf2d34d206a2b01435d 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -556,7 +556,6 @@ Type* Typer::Visitor::NumberToUint32(Type* type, Typer* t) {
|
| return Type::Unsigned32();
|
| }
|
|
|
| -
|
| // Type checks.
|
|
|
| Type* Typer::Visitor::ObjectIsCallable(Type* type, Typer* t) {
|
| @@ -2298,6 +2297,9 @@ Type* Typer::Visitor::TypeChangeFloat64ToInt32(Node* node) {
|
| return Type::Intersect(Type::Signed32(), Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
| +Type* Typer::Visitor::TypeNumberSilenceNaN(Node* node) {
|
| + return Type::Number();
|
| +}
|
|
|
| Type* Typer::Visitor::TypeChangeFloat64ToUint32(Node* node) {
|
| return Type::Intersect(Type::Unsigned32(), Type::UntaggedIntegral32(),
|
| @@ -2344,6 +2346,9 @@ Type* Typer::Visitor::TypeChangeInt32ToFloat64(Node* node) {
|
| return Type::Intersect(Type::Signed32(), Type::UntaggedFloat64(), zone());
|
| }
|
|
|
| +Type* Typer::Visitor::TypeFloat64SilenceNaN(Node* node) {
|
| + return Type::UntaggedFloat64();
|
| +}
|
|
|
| Type* Typer::Visitor::TypeChangeInt32ToInt64(Node* node) {
|
| return Type::Internal();
|
|
|