| Index: src/compiler/x64/instruction-selector-x64.cc
|
| diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc
|
| index 878e778da068c3563b1d06d7446c2411cf82fe28..2709f9ad39e91d031af39700213a7bd16e7753db 100644
|
| --- a/src/compiler/x64/instruction-selector-x64.cc
|
| +++ b/src/compiler/x64/instruction-selector-x64.cc
|
| @@ -1775,11 +1775,6 @@ void VisitWordCompare(InstructionSelector* selector, Node* node,
|
| g.UseRegister(right), cont);
|
| }
|
|
|
| - if (g.CanBeBetterLeftOperand(right)) {
|
| - if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute();
|
| - std::swap(left, right);
|
| - }
|
| -
|
| return VisitCompare(selector, opcode, left, right, cont,
|
| node->op()->HasProperty(Operator::kCommutative));
|
| }
|
|
|