| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index a3e469adcad6989d6ac5d09e78251947f8066be3..38f3f2cf80b20646ab29df64e5311536ab5f04ba 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -2364,40 +2364,6 @@ void LCodeGen::DoCompareMinusZeroAndBranch(LCompareMinusZeroAndBranch* instr) {
|
| }
|
|
|
|
|
| -Condition LCodeGen::EmitIsObject(Register input,
|
| - Register temp1,
|
| - Label* is_not_object,
|
| - Label* is_object) {
|
| - __ JumpIfSmi(input, is_not_object);
|
| -
|
| - __ cmp(input, isolate()->factory()->null_value());
|
| - __ j(equal, is_object);
|
| -
|
| - __ mov(temp1, FieldOperand(input, HeapObject::kMapOffset));
|
| - // Undetectable objects behave like undefined.
|
| - __ test_b(FieldOperand(temp1, Map::kBitFieldOffset),
|
| - 1 << Map::kIsUndetectable);
|
| - __ j(not_zero, is_not_object);
|
| -
|
| - __ movzx_b(temp1, FieldOperand(temp1, Map::kInstanceTypeOffset));
|
| - __ cmp(temp1, FIRST_NONCALLABLE_SPEC_OBJECT_TYPE);
|
| - __ j(below, is_not_object);
|
| - __ cmp(temp1, LAST_NONCALLABLE_SPEC_OBJECT_TYPE);
|
| - return below_equal;
|
| -}
|
| -
|
| -
|
| -void LCodeGen::DoIsObjectAndBranch(LIsObjectAndBranch* instr) {
|
| - Register reg = ToRegister(instr->value());
|
| - Register temp = ToRegister(instr->temp());
|
| -
|
| - Condition true_cond = EmitIsObject(
|
| - reg, temp, instr->FalseLabel(chunk_), instr->TrueLabel(chunk_));
|
| -
|
| - EmitBranch(instr, true_cond);
|
| -}
|
| -
|
| -
|
| Condition LCodeGen::EmitIsString(Register input,
|
| Register temp1,
|
| Label* is_not_string,
|
|
|