summaryrefslogtreecommitdiff
path: root/includes/stg/MachRegs.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/stg/MachRegs.h')
-rw-r--r--includes/stg/MachRegs.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h
index f58e49e626..eab4a306ed 100644
--- a/includes/stg/MachRegs.h
+++ b/includes/stg/MachRegs.h
@@ -81,16 +81,16 @@
Leaving SpLim out of the picture.
-------------------------------------------------------------------------- */
-#ifdef MACHREGS_i386
+#if defined(MACHREGS_i386)
#define REG(x) __asm__("%" #x)
-#ifndef not_doing_dynamic_linking
+#if !defined(not_doing_dynamic_linking)
#define REG_Base ebx
#endif
#define REG_Sp ebp
-#ifndef STOLEN_X86_REGS
+#if !defined(STOLEN_X86_REGS)
#define STOLEN_X86_REGS 4
#endif
@@ -315,7 +315,7 @@ the stack. See Note [Overlapping global registers] for implications.
#define REG_R7 r20
#define REG_R8 r21
-#ifdef MACHREGS_darwin
+#if defined(MACHREGS_darwin)
#define REG_F1 f14
#define REG_F2 f15
@@ -629,7 +629,7 @@ the stack. See Note [Overlapping global registers] for implications.
* communicate with PrimOps and RTS functions.
*/
-#ifndef MAX_REAL_VANILLA_REG
+#if !defined(MAX_REAL_VANILLA_REG)
# if defined(REG_R10)
# define MAX_REAL_VANILLA_REG 10
# elif defined(REG_R9)
@@ -655,7 +655,7 @@ the stack. See Note [Overlapping global registers] for implications.
# endif
#endif
-#ifndef MAX_REAL_FLOAT_REG
+#if !defined(MAX_REAL_FLOAT_REG)
# if defined(REG_F4)
# define MAX_REAL_FLOAT_REG 4
# elif defined(REG_F3)
@@ -669,7 +669,7 @@ the stack. See Note [Overlapping global registers] for implications.
# endif
#endif
-#ifndef MAX_REAL_DOUBLE_REG
+#if !defined(MAX_REAL_DOUBLE_REG)
# if defined(REG_D2)
# define MAX_REAL_DOUBLE_REG 2
# elif defined(REG_D1)
@@ -679,7 +679,7 @@ the stack. See Note [Overlapping global registers] for implications.
# endif
#endif
-#ifndef MAX_REAL_LONG_REG
+#if !defined(MAX_REAL_LONG_REG)
# if defined(REG_L1)
# define MAX_REAL_LONG_REG 1
# else
@@ -687,7 +687,7 @@ the stack. See Note [Overlapping global registers] for implications.
# endif
#endif
-#ifndef MAX_REAL_XMM_REG
+#if !defined(MAX_REAL_XMM_REG)
# if defined(REG_XMM6)
# define MAX_REAL_XMM_REG 6
# elif defined(REG_XMM5)