Index: src/ia32/lithium-ia32.cc |
=================================================================== |
--- src/ia32/lithium-ia32.cc (revision 6455) |
+++ src/ia32/lithium-ia32.cc (working copy) |
@@ -1327,8 +1327,8 @@ |
if (instr->representation().IsInteger32()) { |
ASSERT(instr->left()->representation().IsInteger32()); |
ASSERT(instr->right()->representation().IsInteger32()); |
- LOperand* left = UseRegisterAtStart(instr->LeastConstantOperand()); |
- LOperand* right = UseOrConstantAtStart(instr->MostConstantOperand()); |
+ LOperand* left = UseRegisterAtStart(instr->left()); |
+ LOperand* right = UseOrConstantAtStart(instr->right()); |
LSubI* sub = new LSubI(left, right); |
LInstruction* result = DefineSameAsFirst(sub); |
if (instr->CheckFlag(HValue::kCanOverflow)) { |