| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index c7378222952ff58c57dde20a29f0ac101213ded2..51978421d88537e0660f9630647087f8c2950f2b 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1425,8 +1425,8 @@ LInstruction* LChunkBuilder::DoCompareIDAndBranch(
|
| 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());
|
|
|