| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 71c9dda221b4b5a61138efc9d8b32242062e658d..2f34d6915f75ab34a9b3e21ea8b12f360fa2f890 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -2031,8 +2031,8 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
|
| HValue* val = instr->value();
|
| LOperand* value = UseRegister(val);
|
| LInstruction* result = val->CheckFlag(HInstruction::kUint32)
|
| - ? DefineSameAsFirst(new(zone()) LUint32ToSmi(value))
|
| - : DefineSameAsFirst(new(zone()) LInteger32ToSmi(value));
|
| + ? DefineAsRegister(new(zone()) LUint32ToSmi(value))
|
| + : DefineAsRegister(new(zone()) LInteger32ToSmi(value));
|
| if (val->HasRange() && val->range()->IsInSmiRange()) {
|
| return result;
|
| }
|
|
|