| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index 3f33089dae088358facc71bf6030e1a89614fad8..8fa4fbfa835b5dab0692943be9c45b680501bbe1 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -2484,17 +2484,7 @@ void LCodeGen::DoCompareNumericAndBranch(LCompareNumericAndBranch* instr) {
|
| EmitGoto(next_block);
|
| } else {
|
| if (instr->is_double()) {
|
| - if (right->IsConstantOperand()) {
|
| - __ Fcmp(ToDoubleRegister(left),
|
| - ToDouble(LConstantOperand::cast(right)));
|
| - } else if (left->IsConstantOperand()) {
|
| - // Commute the operands and the condition.
|
| - __ Fcmp(ToDoubleRegister(right),
|
| - ToDouble(LConstantOperand::cast(left)));
|
| - cond = CommuteCondition(cond);
|
| - } else {
|
| - __ Fcmp(ToDoubleRegister(left), ToDoubleRegister(right));
|
| - }
|
| + __ Fcmp(ToDoubleRegister(left), ToDoubleRegister(right));
|
|
|
| // If a NaN is involved, i.e. the result is unordered (V set),
|
| // jump to false block label.
|
|
|