| Index: src/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc
|
| index 6afa75da36881266f358d9c28128df3cd36a73ff..75023a2c415a11cfb0270dc8e78fb13d829fca6f 100644
|
| --- a/src/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/ppc/lithium-codegen-ppc.cc
|
| @@ -2525,42 +2525,6 @@ void LCodeGen::DoCompareMinusZeroAndBranch(LCompareMinusZeroAndBranch* instr) {
|
| }
|
|
|
|
|
| -Condition LCodeGen::EmitIsObject(Register input, Register temp1,
|
| - Label* is_not_object, Label* is_object) {
|
| - Register temp2 = scratch0();
|
| - __ JumpIfSmi(input, is_not_object);
|
| -
|
| - __ LoadRoot(temp2, Heap::kNullValueRootIndex);
|
| - __ cmp(input, temp2);
|
| - __ beq(is_object);
|
| -
|
| - // Load map.
|
| - __ LoadP(temp1, FieldMemOperand(input, HeapObject::kMapOffset));
|
| - // Undetectable objects behave like undefined.
|
| - __ lbz(temp2, FieldMemOperand(temp1, Map::kBitFieldOffset));
|
| - __ TestBit(temp2, Map::kIsUndetectable, r0);
|
| - __ bne(is_not_object, cr0);
|
| -
|
| - // Load instance type and check that it is in object type range.
|
| - __ lbz(temp2, FieldMemOperand(temp1, Map::kInstanceTypeOffset));
|
| - __ cmpi(temp2, Operand(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
|
| - __ blt(is_not_object);
|
| - __ cmpi(temp2, Operand(LAST_NONCALLABLE_SPEC_OBJECT_TYPE));
|
| - return le;
|
| -}
|
| -
|
| -
|
| -void LCodeGen::DoIsObjectAndBranch(LIsObjectAndBranch* instr) {
|
| - Register reg = ToRegister(instr->value());
|
| - Register temp1 = ToRegister(instr->temp());
|
| -
|
| - Condition true_cond = EmitIsObject(reg, temp1, instr->FalseLabel(chunk_),
|
| - instr->TrueLabel(chunk_));
|
| -
|
| - EmitBranch(instr, true_cond);
|
| -}
|
| -
|
| -
|
| Condition LCodeGen::EmitIsString(Register input, Register temp1,
|
| Label* is_not_string,
|
| SmiCheck check_needed = INLINE_SMI_CHECK) {
|
|
|