Index: src/arm/lithium-arm.cc |
=================================================================== |
--- src/arm/lithium-arm.cc (revision 9243) |
+++ src/arm/lithium-arm.cc (working copy) |
@@ -1416,8 +1416,8 @@ |
if (r.IsInteger32()) { |
ASSERT(instr->left()->representation().IsInteger32()); |
ASSERT(instr->right()->representation().IsInteger32()); |
- LOperand* left = UseRegisterAtStart(instr->left()); |
- LOperand* right = UseRegisterAtStart(instr->right()); |
+ LOperand* left = UseRegisterOrConstantAtStart(instr->left()); |
+ LOperand* right = UseRegisterOrConstantAtStart(instr->right()); |
return new LCmpIDAndBranch(left, right); |
} else { |
ASSERT(r.IsDouble()); |