Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index a7bb2d95fbdf539fdb40b949145842dd50f9b9c9..aa1d5c91c1a1cf749be75d14331489c75e90dc10 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1693,7 +1693,7 @@ LInstruction* LChunkBuilder::DoCompareIDAndBranch( |
LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch( |
HCompareObjectEqAndBranch* instr) { |
LOperand* left = UseRegisterAtStart(instr->left()); |
- LOperand* right = UseAtStart(instr->right()); |
+ LOperand* right = UseOrConstantAtStart(instr->right()); |
return new(zone()) LCmpObjectEqAndBranch(left, right); |
} |