| Index: src/compiler/representation-change.h
|
| diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h
|
| index ab73a411db8a469e7a861fd1f29b286b4576fbb8..1500c498164dc606aa814a8b3560919b2bd73e63 100644
|
| --- a/src/compiler/representation-change.h
|
| +++ b/src/compiler/representation-change.h
|
| @@ -29,17 +29,17 @@ class Truncation final {
|
|
|
| // Queries.
|
| bool IsUnused() const { return kind_ == TruncationKind::kNone; }
|
| - bool TruncatesToWord32() const {
|
| + bool IsUsedAsWord32() const {
|
| return LessGeneral(kind_, TruncationKind::kWord32);
|
| }
|
| - bool TruncatesToFloat64() const {
|
| + bool IsUsedAsFloat64() const {
|
| return LessGeneral(kind_, TruncationKind::kFloat64);
|
| }
|
| - bool TruncatesNaNToZero() {
|
| + bool IdentifiesNaNAndZero() {
|
| return LessGeneral(kind_, TruncationKind::kWord32) ||
|
| LessGeneral(kind_, TruncationKind::kBool);
|
| }
|
| - bool TruncatesUndefinedToZeroOrNaN() {
|
| + bool IdentifiesUndefinedAndNaNAndZero() {
|
| return LessGeneral(kind_, TruncationKind::kFloat64) ||
|
| LessGeneral(kind_, TruncationKind::kWord64);
|
| }
|
|
|