| Index: src/compiler/instruction-selector-impl.h
|
| diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h
|
| index 83d18c3fc053af9f8f891a1a2f2da2088ee756cb..25d8a99e866c2f8dfe995ca7f5c050a23910d3f7 100644
|
| --- a/src/compiler/instruction-selector-impl.h
|
| +++ b/src/compiler/instruction-selector-impl.h
|
| @@ -386,6 +386,25 @@ class FlagsContinuation final {
|
| if (negate) Negate();
|
| }
|
|
|
| + void OverwriteUnsignedIfSigned() {
|
| + switch (condition_) {
|
| + case kSignedLessThan:
|
| + condition_ = kUnsignedLessThan;
|
| + break;
|
| + case kSignedLessThanOrEqual:
|
| + condition_ = kUnsignedLessThanOrEqual;
|
| + break;
|
| + case kSignedGreaterThan:
|
| + condition_ = kUnsignedGreaterThan;
|
| + break;
|
| + case kSignedGreaterThanOrEqual:
|
| + condition_ = kUnsignedGreaterThanOrEqual;
|
| + break;
|
| + default:
|
| + break;
|
| + }
|
| + }
|
| +
|
| // Encodes this flags continuation into the given opcode.
|
| InstructionCode Encode(InstructionCode opcode) {
|
| opcode |= FlagsModeField::encode(mode_);
|
|
|