| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index 51f4b628910ad264adc81fb8494e22830f88c8b3..74767d6da50dee185c92dc705b8ecdcc59bccb54 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -488,7 +488,7 @@ Type* Typer::Visitor::TypeOsrValue(Node* node) { return Type::Any(); }
|
| Type* Typer::Visitor::TypeInt32Constant(Node* node) {
|
| double number = OpParameter<int32_t>(node);
|
| return Type::Intersect(Type::Range(number, number, zone()),
|
| - Type::UntaggedSigned32(), zone());
|
| + Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
|
|
| @@ -1640,14 +1640,14 @@ Type* ChangeRepresentation(Type* type, Type* rep, Zone* zone) {
|
| Type* Typer::Visitor::TypeChangeTaggedToInt32(Node* node) {
|
| Type* arg = Operand(node, 0);
|
| // TODO(neis): DCHECK(arg->Is(Type::Signed32()));
|
| - return ChangeRepresentation(arg, Type::UntaggedSigned32(), zone());
|
| + return ChangeRepresentation(arg, Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
|
|
| Type* Typer::Visitor::TypeChangeTaggedToUint32(Node* node) {
|
| Type* arg = Operand(node, 0);
|
| // TODO(neis): DCHECK(arg->Is(Type::Unsigned32()));
|
| - return ChangeRepresentation(arg, Type::UntaggedUnsigned32(), zone());
|
| + return ChangeRepresentation(arg, Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
|
|
| @@ -1972,12 +1972,12 @@ Type* Typer::Visitor::TypeChangeFloat32ToFloat64(Node* node) {
|
|
|
|
|
| Type* Typer::Visitor::TypeChangeFloat64ToInt32(Node* node) {
|
| - return Type::Intersect(Type::Signed32(), Type::UntaggedSigned32(), zone());
|
| + return Type::Intersect(Type::Signed32(), Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
|
|
| Type* Typer::Visitor::TypeChangeFloat64ToUint32(Node* node) {
|
| - return Type::Intersect(Type::Unsigned32(), Type::UntaggedUnsigned32(),
|
| + return Type::Intersect(Type::Unsigned32(), Type::UntaggedIntegral32(),
|
| zone());
|
| }
|
|
|
| @@ -2008,12 +2008,12 @@ Type* Typer::Visitor::TypeTruncateFloat64ToFloat32(Node* node) {
|
|
|
|
|
| Type* Typer::Visitor::TypeTruncateFloat64ToInt32(Node* node) {
|
| - return Type::Intersect(Type::Signed32(), Type::UntaggedSigned32(), zone());
|
| + return Type::Intersect(Type::Signed32(), Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
|
|
| Type* Typer::Visitor::TypeTruncateInt64ToInt32(Node* node) {
|
| - return Type::Intersect(Type::Signed32(), Type::UntaggedSigned32(), zone());
|
| + return Type::Intersect(Type::Signed32(), Type::UntaggedIntegral32(), zone());
|
| }
|
|
|
|
|
|
|