Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 1e916c7e3aed3896b0fc9770bb2afb52a8c6ea80..afd20396e9cb22db578bd856dbd72d80dd700c11 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3335,30 +3335,6 @@ void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitIsUndetectableObject(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- |
- VisitForAccumulatorValue(args->at(0)); |
- |
- Label materialize_true, materialize_false; |
- Label* if_true = NULL; |
- Label* if_false = NULL; |
- Label* fall_through = NULL; |
- context()->PrepareTest(&materialize_true, &materialize_false, |
- &if_true, &if_false, &fall_through); |
- |
- __ JumpIfSmi(eax, if_false); |
- __ mov(ebx, FieldOperand(eax, HeapObject::kMapOffset)); |
- __ movzx_b(ebx, FieldOperand(ebx, Map::kBitFieldOffset)); |
- __ test(ebx, Immediate(1 << Map::kIsUndetectable)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(not_zero, if_true, if_false, fall_through); |
- |
- context()->Plug(if_true, if_false); |
-} |
- |
- |
void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf( |
CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |