Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 44347b2c12f52e0a3b806302b3ce4700b7665e2a..ebb166fd8f1d0f89eb3610022b77d48afe60e398 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -4973,11 +4973,7 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
} else if (String::Equals(check, factory->string_string())) { |
__ JumpIfSmi(eax, if_false); |
__ CmpObjectType(eax, FIRST_NONSTRING_TYPE, edx); |
- __ j(above_equal, if_false); |
- // Check for undetectable objects => false. |
- __ test_b(FieldOperand(edx, Map::kBitFieldOffset), |
- 1 << Map::kIsUndetectable); |
- Split(zero, if_true, if_false, fall_through); |
+ Split(below, if_true, if_false, fall_through); |
} else if (String::Equals(check, factory->symbol_string())) { |
__ JumpIfSmi(eax, if_false); |
__ CmpObjectType(eax, SYMBOL_TYPE, edx); |