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 06c8b0c17267e8e1deaebbafeb0b11b9381cf13f..4540d19a6a34a4679c9c53b289f8040e9ac23561 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -2903,33 +2903,6 @@ void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitIsMinusZero(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); |
- |
- Handle<Map> map = masm()->isolate()->factory()->heap_number_map(); |
- __ CheckMap(eax, map, if_false, DO_SMI_CHECK); |
- // Check if the exponent half is 0x80000000. Comparing against 1 and |
- // checking for overflow is the shortest possible encoding. |
- __ cmp(FieldOperand(eax, HeapNumber::kExponentOffset), Immediate(0x1)); |
- __ j(no_overflow, if_false); |
- __ cmp(FieldOperand(eax, HeapNumber::kMantissaOffset), Immediate(0x0)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(equal, if_true, if_false, fall_through); |
- |
- context()->Plug(if_true, if_false); |
-} |
- |
- |
void FullCodeGenerator::EmitIsArray(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |