summaryrefslogtreecommitdiff
path: root/js/src/jit/arm
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-01 07:15:13 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-01 07:15:13 +0000
commit56da7e27477d0d4669980d2ce17f3b877ea0c36c (patch)
treedb79249dc345cddddc68d9e96da05c1973bfd8b8 /js/src/jit/arm
parent0dd3424f774954627d6f53df9fb47379d9b5c871 (diff)
downloaduxp-56da7e27477d0d4669980d2ce17f3b877ea0c36c.tar.gz
Issue #1751 -- Remove XP_IOS
Diffstat (limited to 'js/src/jit/arm')
-rw-r--r--js/src/jit/arm/Architecture-arm.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/js/src/jit/arm/Architecture-arm.h b/js/src/jit/arm/Architecture-arm.h
index 1d16a51a81..d2c634798b 100644
--- a/js/src/jit/arm/Architecture-arm.h
+++ b/js/src/jit/arm/Architecture-arm.h
@@ -14,9 +14,8 @@
#include "js/Utility.h"
// GCC versions 4.6 and above define __ARM_PCS_VFP to denote a hard-float
-// ABI target. The iOS toolchain doesn't define anything specific here,
-// but iOS always supports VFP.
-#if defined(__ARM_PCS_VFP) || defined(XP_IOS)
+// ABI target.
+#if defined(__ARM_PCS_VFP)
#define JS_CODEGEN_ARM_HARDFP
#endif
@@ -113,12 +112,7 @@ class Registers
(1 << r0) |
(1 << r1) |
(1 << Registers::r2) |
- (1 << Registers::r3)
-#if defined(XP_IOS)
- // per https://developer.apple.com/library/ios/documentation/Xcode/Conceptual/iPhoneOSABIReference/Articles/ARMv6FunctionCallingConventions.html#//apple_ref/doc/uid/TP40009021-SW4
- | (1 << Registers::r9)
-#endif
- ;
+ (1 << Registers::r3);
static const SetType NonVolatileMask =
(1 << Registers::r4) |
@@ -126,9 +120,7 @@ class Registers
(1 << Registers::r6) |
(1 << Registers::r7) |
(1 << Registers::r8) |
-#if !defined(XP_IOS)
(1 << Registers::r9) |
-#endif
(1 << Registers::r10) |
(1 << Registers::r11) |
(1 << Registers::r12) |