diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-04 13:45:35 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-04 14:28:56 +0000 |
commit | 659f47d4b676544b9cda77ed7ab0e3cd6c2ed6fd (patch) | |
tree | feb0c356077e8bbc1e25725664c3bafbb23c4f3d /compiler/nativeGen | |
parent | 0545b5500c19b7266046447c1352e936a9ee7c99 (diff) | |
download | haskell-659f47d4b676544b9cda77ed7ab0e3cd6c2ed6fd.tar.gz |
fix warning
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r-- | compiler/nativeGen/PPC/CodeGen.hs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs index 2fd11bc35a..d0cae69cad 100644 --- a/compiler/nativeGen/PPC/CodeGen.hs +++ b/compiler/nativeGen/PPC/CodeGen.hs @@ -849,12 +849,7 @@ genCCall target dest_regs argsAndHints case platformOS (targetPlatform dflags) of OSLinux -> genCCall' GCPLinux target dest_regs argsAndHints OSDarwin -> genCCall' GCPDarwin target dest_regs argsAndHints - OSSolaris2 -> panic "PPC.CodeGen.genCCall: not defined for this os" - 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" - OSNetBSD -> panic "PPC.CodeGen.genCCall: not defined for this os" - OSUnknown -> panic "PPC.CodeGen.genCCall: not defined for this os" + _ -> panic "PPC.CodeGen.genCCall: not defined for this os" data GenCCallPlatform = GCPLinux | GCPDarwin |