Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 856106c799d5cb3bc187374db312687404a72517..997f17e2f5f136bb6b69b65827691d34ecdea89e 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1434,13 +1434,11 @@ 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* context = UseFixed(instr->context(), esi); |
- LOperand* left = UseFixed(instr->left(), reversed ? eax : edx); |
- LOperand* right = UseFixed(instr->right(), reversed ? edx : eax); |
+ LOperand* left = UseFixed(instr->left(), edx); |
+ LOperand* right = UseFixed(instr->right(), eax); |
LCmpT* result = new LCmpT(context, left, right); |
return MarkAsCall(DefineFixed(result, eax), instr); |
} |