Index: src/arm/lithium-arm.cc |
=================================================================== |
--- src/arm/lithium-arm.cc (revision 6144) |
+++ src/arm/lithium-arm.cc (working copy) |
@@ -1222,7 +1222,6 @@ |
ASSERT(compare->value()->representation().IsTagged()); |
return new LHasInstanceTypeAndBranch(UseRegisterAtStart(compare->value()), |
- TempRegister(), |
first_id, |
second_id); |
} else if (v->IsHasCachedArrayIndex()) { |
@@ -1235,11 +1234,8 @@ |
HIsNull* compare = HIsNull::cast(v); |
ASSERT(compare->value()->representation().IsTagged()); |
- // We only need a temp register for non-strict compare. |
- LOperand* temp = compare->is_strict() ? NULL : TempRegister(); |
return new LIsNullAndBranch(UseRegisterAtStart(compare->value()), |
compare->is_strict(), |
- temp, |
first_id, |
second_id); |
} else if (v->IsIsObject()) { |
@@ -1850,8 +1846,7 @@ |
LInstruction* LChunkBuilder::DoLoadFunctionPrototype( |
HLoadFunctionPrototype* instr) { |
return AssignEnvironment(DefineAsRegister( |
- new LLoadFunctionPrototype(UseRegister(instr->function()), |
- TempRegister()))); |
+ new LLoadFunctionPrototype(UseRegister(instr->function())))); |
} |