Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index a46cd4bfb9e2edb2d8d649a5234927aa6132c9fa..5ecb80a9149d02dfa95b71e4ef83a387452051d1 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -5599,12 +5599,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); |