Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 71bacbae651a31e03bd9e376ca54665b2f13319a..3fb08ef7ce9b5f9bb16b001c26b706bc1b7797b8 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -4708,13 +4708,12 @@ void LCodeGen::DoNumberTagU(LNumberTagU* instr) { |
LNumberTagU* instr_; |
}; |
- LOperand* input = instr->value(); |
- ASSERT(input->IsRegister() && input->Equals(instr->result())); |
- Register reg = ToRegister(input); |
+ Register input = ToRegister(instr->value()); |
+ Register result = ToRegister(instr->result()); |
DeferredNumberTagU* deferred = new(zone()) DeferredNumberTagU(this, instr); |
- __ Branch(deferred->entry(), hi, reg, Operand(Smi::kMaxValue)); |
- __ SmiTag(reg, reg); |
+ __ Branch(deferred->entry(), hi, input, Operand(Smi::kMaxValue)); |
+ __ SmiTag(result, input); |
__ bind(deferred->exit()); |
} |