summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CodeGen/Platform/PPC_Darwin.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/codeGen/CodeGen/Platform/PPC_Darwin.hs')
-rw-r--r--compiler/codeGen/CodeGen/Platform/PPC_Darwin.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/codeGen/CodeGen/Platform/PPC_Darwin.hs b/compiler/codeGen/CodeGen/Platform/PPC_Darwin.hs
new file mode 100644
index 0000000000..a0cbe7e433
--- /dev/null
+++ b/compiler/codeGen/CodeGen/Platform/PPC_Darwin.hs
@@ -0,0 +1,10 @@
+
+module CodeGen.Platform.PPC_Darwin (callerSaves) where
+
+import CmmExpr
+
+#define MACHREGS_NO_REGS 0
+#define MACHREGS_powerpc 1
+#define MACHREGS_darwin 1
+#include "../../../../includes/CallerSaves.part.hs"
+