Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 8d839caa1c059d2b9d5834f12f73861fe0063a10..431684555bafd92c4a9230aff84ed7685f55e731 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1017,11 +1017,9 @@ LInstruction* LChunkBuilder::DoTest(HTest* instr) { |
HIsObject* compare = HIsObject::cast(v); |
ASSERT(compare->value()->representation().IsTagged()); |
- LOperand* temp1 = TempRegister(); |
- LOperand* temp2 = TempRegister(); |
+ LOperand* temp = TempRegister(); |
return new LIsObjectAndBranch(UseRegisterAtStart(compare->value()), |
- temp1, |
- temp2, |
+ temp, |
first_id, |
second_id); |
} else if (v->IsCompareJSObjectEq()) { |
@@ -1411,7 +1409,7 @@ LInstruction* LChunkBuilder::DoIsObject(HIsObject* instr) { |
ASSERT(instr->value()->representation().IsTagged()); |
LOperand* value = UseRegisterAtStart(instr->value()); |
- return DefineAsRegister(new LIsObject(value, TempRegister())); |
+ return DefineAsRegister(new LIsObject(value)); |
} |