| Index: src/compiler/representation-change.cc
|
| diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
|
| index 7002b2d9b27b6c47e43632f03afd633cc928c5b7..7a5a43e61a9a51ebe7138664b5a2744f48aaf7fb 100644
|
| --- a/src/compiler/representation-change.cc
|
| +++ b/src/compiler/representation-change.cc
|
| @@ -817,6 +817,24 @@ const Operator* RepresentationChanger::Int32OverflowOperatorFor(
|
| }
|
| }
|
|
|
| +const Operator* RepresentationChanger::TaggedSignedOperatorFor(
|
| + IrOpcode::Value opcode) {
|
| + switch (opcode) {
|
| + case IrOpcode::kSpeculativeNumberLessThan:
|
| + return machine()->Is32() ? machine()->Int32LessThan()
|
| + : machine()->Int64LessThan();
|
| + case IrOpcode::kSpeculativeNumberLessThanOrEqual:
|
| + return machine()->Is32() ? machine()->Int32LessThanOrEqual()
|
| + : machine()->Int64LessThanOrEqual();
|
| + case IrOpcode::kSpeculativeNumberEqual:
|
| + return machine()->Is32() ? machine()->Word32Equal()
|
| + : machine()->Word64Equal();
|
| + default:
|
| + UNREACHABLE();
|
| + return nullptr;
|
| + }
|
| +}
|
| +
|
| const Operator* RepresentationChanger::Uint32OperatorFor(
|
| IrOpcode::Value opcode) {
|
| switch (opcode) {
|
|
|