| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 27a5672901f0cd3287e61b768b26dac8c03d4294..bbbc7ec731fb48239cdb6cdb863dc5a3e7e717bc 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1319,10 +1319,10 @@ LInstruction* LChunkBuilder::DoDiv(HDiv* instr) {
|
| ASSERT(instr->right()->representation().Equals(instr->representation()));
|
| if (instr->RightIsPowerOf2()) {
|
| ASSERT(!instr->CheckFlag(HValue::kCanBeDivByZero));
|
| - LOperand* value = UseRegisterAtStart(instr->left());
|
| + LOperand* value = UseRegister(instr->left());
|
| LDivI* div =
|
| new(zone()) LDivI(value, UseOrConstant(instr->right()), NULL);
|
| - return AssignEnvironment(DefineSameAsFirst(div));
|
| + return AssignEnvironment(DefineAsRegister(div));
|
| }
|
| // The temporary operand is necessary to ensure that right is not allocated
|
| // into edx.
|
|
|