Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 3424e9181f1b490659a65996144f4e788abaed4d..fb0f4858dfee54b284a5f8459a65d59af1021f9b 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -2208,25 +2208,6 @@ void MacroAssembler::TestDoubleIsMinusZero(DoubleRegister input, |
#endif |
} |
-void MacroAssembler::TestHeapNumberIsMinusZero(Register input, |
- Register scratch1, |
- Register scratch2) { |
-#if V8_TARGET_ARCH_PPC64 |
- LoadP(scratch1, FieldMemOperand(input, HeapNumber::kValueOffset)); |
- rotldi(scratch1, scratch1, 1); |
- cmpi(scratch1, Operand(1)); |
-#else |
- lwz(scratch1, FieldMemOperand(input, HeapNumber::kExponentOffset)); |
- lwz(scratch2, FieldMemOperand(input, HeapNumber::kMantissaOffset)); |
- Label done; |
- cmpi(scratch2, Operand::Zero()); |
- bne(&done); |
- lis(scratch2, Operand(SIGN_EXT_IMM16(0x8000))); |
- cmp(scratch1, scratch2); |
- bind(&done); |
-#endif |
-} |
- |
void MacroAssembler::TestDoubleSign(DoubleRegister input, Register scratch) { |
#if V8_TARGET_ARCH_PPC64 |
MovDoubleToInt64(scratch, input); |