| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 7625ee57666643c757eb9c75cd0ae221191ea148..56418e5e9373ab697672aa947bf2758cfa1bfe3d 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -2460,45 +2460,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);
|
| - __ b(eq, is_object);
|
| -
|
| - // Load map.
|
| - __ ldr(temp1, FieldMemOperand(input, HeapObject::kMapOffset));
|
| - // Undetectable objects behave like undefined.
|
| - __ ldrb(temp2, FieldMemOperand(temp1, Map::kBitFieldOffset));
|
| - __ tst(temp2, Operand(1 << Map::kIsUndetectable));
|
| - __ b(ne, is_not_object);
|
| -
|
| - // Load instance type and check that it is in object type range.
|
| - __ ldrb(temp2, FieldMemOperand(temp1, Map::kInstanceTypeOffset));
|
| - __ cmp(temp2, Operand(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
|
| - __ b(lt, is_not_object);
|
| - __ cmp(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,
|
|
|