From 548a0b3bbdac37a4334e0df1a397d1b0b5a9e091 Mon Sep 17 00:00:00 2001 From: "chunyang.dai" Date: Fri, 17 Apr 2015 01:18:14 -0700 Subject: [PATCH] X87: Reland "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations" port 8098253562c7585405f435145e7acf74ff0123f8 (r27898) original commit message: BUG= Review URL: https://codereview.chromium.org/1086813004 Cr-Commit-Position: refs/heads/master@{#27906} --- src/x87/lithium-codegen-x87.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc index ed5b9d6..a701553 100644 --- a/src/x87/lithium-codegen-x87.cc +++ b/src/x87/lithium-codegen-x87.cc @@ -6206,12 +6206,6 @@ void LCodeGen::DoOsrEntry(LOsrEntry* instr) { void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { DCHECK(ToRegister(instr->context()).is(esi)); - __ cmp(eax, isolate()->factory()->undefined_value()); - DeoptimizeIf(equal, instr, Deoptimizer::kUndefined); - - __ cmp(eax, isolate()->factory()->null_value()); - DeoptimizeIf(equal, instr, Deoptimizer::kNull); - __ test(eax, Immediate(kSmiTagMask)); DeoptimizeIf(zero, instr, Deoptimizer::kSmi); -- 2.7.4