diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-18 18:41:29 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-18 18:41:29 +0100 |
commit | f75f26cc4eed3c3cfc256ebfb9e77b8e82a766fc (patch) | |
tree | 4ee881272f86bf58ed5c66e06e3e30f7f6dec6c0 /compiler/nativeGen | |
parent | ead78579ce9c32d53f848d03921a718e6d33f05d (diff) | |
download | haskell-f75f26cc4eed3c3cfc256ebfb9e77b8e82a766fc.tar.gz |
Remove OSUnknown
It doesn't make sense. If platformOS is OSUnknown then we don't know the
answer to any questions about the OS. So now if we don't recognise the
OS we just fail, and the new OS will need to be added to the datatype.
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r-- | compiler/nativeGen/PPC/CodeGen.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs index 4bde8efd5b..a01fa1b55e 100644 --- a/compiler/nativeGen/PPC/CodeGen.hs +++ b/compiler/nativeGen/PPC/CodeGen.hs @@ -853,7 +853,6 @@ 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 |