Index: runtime/vm/intrinsifier_x64.cc |
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc |
index 08108475335492578189ca6660e31fd0153809b8..cdb11df87889566bef98ccde1b8fa09180d47a1d 100644 |
--- a/runtime/vm/intrinsifier_x64.cc |
+++ b/runtime/vm/intrinsifier_x64.cc |
@@ -1434,26 +1434,6 @@ void Intrinsifier::Double_getIsNaN(Assembler* assembler) { |
} |
-void Intrinsifier::Double_getIsInfinite(Assembler* assembler) { |
- Label is_inf, done; |
- __ movq(RAX, Address(RSP, +1 * kWordSize)); |
- __ movq(RAX, FieldAddress(RAX, Double::value_offset())); |
- // Mask off the sign. |
- __ AndImmediate(RAX, Immediate(0x7FFFFFFFFFFFFFFFLL)); |
- // Compare with +infinity. |
- __ CompareImmediate(RAX, Immediate(0x7FF0000000000000LL)); |
- __ j(EQUAL, &is_inf, Assembler::kNearJump); |
- __ LoadObject(RAX, Bool::False()); |
- __ jmp(&done); |
- |
- __ Bind(&is_inf); |
- __ LoadObject(RAX, Bool::True()); |
- |
- __ Bind(&done); |
- __ ret(); |
-} |
- |
- |
void Intrinsifier::Double_getIsNegative(Assembler* assembler) { |
Label is_false, is_true, is_zero; |
__ movq(RAX, Address(RSP, +1 * kWordSize)); |