Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index d26da4a0c45c8cfa242eff5d752d8b164af80084..1a99bb9096943d4027c4dda091abcf0932fb30eb 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1951,8 +1951,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; |
} |