Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index b799a1daad014bef325156f4347c3aa7614012fd..890220918ac4a99d4cb6b2f435114b29c485216e 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -2313,33 +2313,6 @@ void LCodeGen::DoCmpHoleAndBranch(LCmpHoleAndBranch* instr) { |
} |
-void LCodeGen::DoCompareMinusZeroAndBranch(LCompareMinusZeroAndBranch* instr) { |
- Representation rep = instr->hydrogen()->value()->representation(); |
- DCHECK(!rep.IsInteger32()); |
- Register scratch = ToRegister(instr->temp()); |
- |
- if (rep.IsDouble()) { |
- DwVfpRegister value = ToDoubleRegister(instr->value()); |
- __ VFPCompareAndSetFlags(value, 0.0); |
- EmitFalseBranch(instr, ne); |
- __ VmovHigh(scratch, value); |
- __ cmp(scratch, Operand(0x80000000)); |
- } else { |
- Register value = ToRegister(instr->value()); |
- __ CheckMap(value, |
- scratch, |
- Heap::kHeapNumberMapRootIndex, |
- instr->FalseLabel(chunk()), |
- DO_SMI_CHECK); |
- __ ldr(scratch, FieldMemOperand(value, HeapNumber::kExponentOffset)); |
- __ ldr(ip, FieldMemOperand(value, HeapNumber::kMantissaOffset)); |
- __ cmp(scratch, Operand(0x80000000)); |
- __ cmp(ip, Operand(0x00000000), eq); |
- } |
- EmitBranch(instr, eq); |
-} |
- |
- |
Condition LCodeGen::EmitIsString(Register input, |
Register temp1, |
Label* is_not_string, |