| Index: src/compiler/representation-change.h
|
| diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h
|
| index fbb4cb5c95649037e02432056242ace665533529..84ea3c1afe48bf0e7f8ca53c950cf246b51d165a 100644
|
| --- a/src/compiler/representation-change.h
|
| +++ b/src/compiler/representation-change.h
|
| @@ -29,6 +29,9 @@ class Truncation final {
|
|
|
| // Queries.
|
| bool IsUnused() const { return kind_ == TruncationKind::kNone; }
|
| + bool IsUsedAsBool() const {
|
| + return LessGeneral(kind_, TruncationKind::kBool);
|
| + }
|
| bool IsUsedAsWord32() const {
|
| return LessGeneral(kind_, TruncationKind::kWord32);
|
| }
|
|
|