Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 118aa1ca55da6c4cd43ab51da80d7632948bd81a..3a615d7a81f155d6ada0f2f6154bb75b2960bc06 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1783,7 +1783,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
LOperand* value = CpuFeatures::IsSupported(SSE2) |
? UseRegisterAtStart(instr->value()) |
: UseAtStart(instr->value()); |
- LOperand* temp = TempRegister(); |
+ LOperand* temp = FLAG_inline_new ? TempRegister() : NULL; |
// Make sure that temp and result_temp are different registers. |
LUnallocated* result_temp = TempRegister(); |
@@ -1807,8 +1807,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
if (val->HasRange() && val->range()->IsInSmiRange()) { |
return DefineSameAsFirst(new(zone()) LSmiTag(value)); |
} else if (val->CheckFlag(HInstruction::kUint32)) { |
- LOperand* temp = FixedTemp(xmm1); |
- LNumberTagU* result = new(zone()) LNumberTagU(value, temp); |
+ LNumberTagU* result = new(zone()) LNumberTagU(value); |
return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); |
} else { |
LNumberTagI* result = new(zone()) LNumberTagI(value); |