| Index: src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| index a54968a7510189f2fb0b841c46635f5b8af13e3a..4777a85fae226177dcb1b9c5e3416875f12a9f87 100644
|
| --- a/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| @@ -5329,12 +5329,6 @@ void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
|
|
|
| void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
|
| DCHECK(ToRegister(instr->context()).is(esi));
|
| - __ test(eax, Immediate(kSmiTagMask));
|
| - DeoptimizeIf(zero, instr, Deoptimizer::kSmi);
|
| -
|
| - STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
|
| - __ CmpObjectType(eax, JS_PROXY_TYPE, ecx);
|
| - DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType);
|
|
|
| Label use_cache, call_runtime;
|
| __ CheckEnumCache(&call_runtime);
|
| @@ -5346,10 +5340,6 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
|
| __ bind(&call_runtime);
|
| __ push(eax);
|
| CallRuntime(Runtime::kGetPropertyNamesFast, instr);
|
| -
|
| - __ cmp(FieldOperand(eax, HeapObject::kMapOffset),
|
| - isolate()->factory()->meta_map());
|
| - DeoptimizeIf(not_equal, instr, Deoptimizer::kWrongMap);
|
| __ bind(&use_cache);
|
| }
|
|
|
|
|