| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index a92d93d6a6dcdd0688c0b7bda30fc01fae903331..4beaff2ca3896060a2b71ba5331a1936c968812c 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -597,17 +597,10 @@ Reduction JSTypedLowering::ReduceJSComparison(Node* node) {
|
| r.OneInputCannotBe(Type::StringOrReceiver())) {
|
| const Operator* less_than;
|
| const Operator* less_than_or_equal;
|
| - if (r.BothInputsAre(Type::Unsigned32())) {
|
| - less_than = machine()->Uint32LessThan();
|
| - less_than_or_equal = machine()->Uint32LessThanOrEqual();
|
| - } else if (r.BothInputsAre(Type::Signed32())) {
|
| - less_than = machine()->Int32LessThan();
|
| - less_than_or_equal = machine()->Int32LessThanOrEqual();
|
| - } else if (hint != CompareOperationHints::kAny) {
|
| + if (hint != CompareOperationHints::kAny) {
|
| less_than = simplified()->SpeculativeNumberLessThan(hint);
|
| less_than_or_equal = simplified()->SpeculativeNumberLessThanOrEqual(hint);
|
| } else {
|
| - // TODO(turbofan): mixed signed/unsigned int32 comparisons.
|
| Node* frame_state = NodeProperties::GetFrameStateInput(node, 1);
|
| r.ConvertInputsToNumber(frame_state);
|
| less_than = simplified()->NumberLessThan();
|
|
|