| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index a67a59320e66ccb947b3debcdac89b9de8f19d6e..8c21c2d50e36142c1ad912eaac50b6bbde7f6a33 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1396,12 +1396,10 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
|
| - Token::Value op = instr->token();
|
| ASSERT(instr->left()->representation().IsTagged());
|
| ASSERT(instr->right()->representation().IsTagged());
|
| - bool reversed = (op == Token::GT || op == Token::LTE);
|
| - LOperand* left = UseFixed(instr->left(), reversed ? rax : rdx);
|
| - LOperand* right = UseFixed(instr->right(), reversed ? rdx : rax);
|
| + LOperand* left = UseFixed(instr->left(), rdx);
|
| + LOperand* right = UseFixed(instr->right(), rax);
|
| LCmpT* result = new LCmpT(left, right);
|
| return MarkAsCall(DefineFixed(result, rax), instr);
|
| }
|
|
|