| Index: src/compiler/simplified-lowering.cc
|
| diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
|
| index 6ae44112b7a41ae66f5d7c44f9d0e56182fac5ef..8db53b2b79aeec0b3313419e3575a6464aaa92f1 100644
|
| --- a/src/compiler/simplified-lowering.cc
|
| +++ b/src/compiler/simplified-lowering.cc
|
| @@ -331,9 +331,7 @@ class RepresentationSelector {
|
| if (upper->Is(Type::Signed32()) || upper->Is(Type::Unsigned32())) {
|
| // multiple uses, but we are within 32 bits range => pick kRepWord32.
|
| return kRepWord32;
|
| - } else if (((use & kRepMask) == kRepWord32 &&
|
| - !CanObserveNonWord32(use)) ||
|
| - (use & kTypeMask) == kTypeInt32 ||
|
| + } else if ((use & kTypeMask) == kTypeInt32 ||
|
| (use & kTypeMask) == kTypeUint32) {
|
| // We only use 32 bits or we use the result consistently.
|
| return kRepWord32;
|
| @@ -493,11 +491,6 @@ class RepresentationSelector {
|
| return (use & kTypeMask & ~(kTypeInt32 | kTypeUint32)) != 0;
|
| }
|
|
|
| - bool CanObserveMinusZero(MachineTypeUnion use) {
|
| - // TODO(turbofan): technically Uint32 cannot observe minus zero either.
|
| - return (use & (kTypeUint32 | kTypeNumber | kTypeAny)) != 0;
|
| - }
|
| -
|
| bool CanObserveNaN(MachineTypeUnion use) {
|
| return (use & (kTypeNumber | kTypeAny)) != 0;
|
| }
|
|
|