summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PPC/CodeGen.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-10-19 01:58:54 +0100
committerIan Lynagh <igloo@earth.li>2011-10-19 01:58:54 +0100
commit013a3e3b79a86e377c6c94b34f6313d58363c6b3 (patch)
tree744507d686cfcc657dc39ca0ece5c88ded541eb5 /compiler/nativeGen/PPC/CodeGen.hs
parent5ab74eb767e42a897f16b5872cac9e3462612ee7 (diff)
downloadhaskell-013a3e3b79a86e377c6c94b34f6313d58363c6b3.tar.gz
Revert "Remove OSUnknown"
This reverts commit f75f26cc4eed3c3cfc256ebfb9e77b8e82a766fc. On second thoughts, this does make sense, for unregisterised via-C OSes at least.
Diffstat (limited to 'compiler/nativeGen/PPC/CodeGen.hs')
-rw-r--r--compiler/nativeGen/PPC/CodeGen.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index a01fa1b55e..4bde8efd5b 100644
--- a/compiler/nativeGen/PPC/CodeGen.hs
+++ b/compiler/nativeGen/PPC/CodeGen.hs
@@ -853,6 +853,7 @@ genCCall target dest_regs argsAndHints
OSMinGW32 -> panic "PPC.CodeGen.genCCall: not defined for this os"
OSFreeBSD -> panic "PPC.CodeGen.genCCall: not defined for this os"
OSOpenBSD -> panic "PPC.CodeGen.genCCall: not defined for this os"
+ OSUnknown -> panic "PPC.CodeGen.genCCall: not defined for this os"
data GenCCallPlatform = GCPLinux | GCPDarwin