summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PPC/CodeGen.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-11-22 12:05:52 -0800
committerDavid Terei <davidterei@gmail.com>2011-11-22 12:05:52 -0800
commitcae17466c7882f068817a25e8a76700021378ec9 (patch)
tree3a37b4ddae058f8b895e6b31cf85450023895591 /compiler/nativeGen/PPC/CodeGen.hs
parentaf7e12f72cfdaa5a0b76461d38303bb057244234 (diff)
downloadhaskell-cae17466c7882f068817a25e8a76700021378ec9.tar.gz
Explicitly handle unsupported Cmm prim ops.
Diffstat (limited to 'compiler/nativeGen/PPC/CodeGen.hs')
-rw-r--r--compiler/nativeGen/PPC/CodeGen.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index 4bde8efd5b..607e05d66b 100644
--- a/compiler/nativeGen/PPC/CodeGen.hs
+++ b/compiler/nativeGen/PPC/CodeGen.hs
@@ -1146,9 +1146,10 @@ genCCall' gcp target dest_regs argsAndHints
MO_PopCnt w -> (fsLit $ popCntLabel w, False)
- other -> pprPanic "genCCall(ppc): unknown callish op"
- (pprCallishMachOp other)
-
+ MO_WriteBarrier ->
+ panic $ "outOfLineCmmOp: MO_WriteBarrier not supported"
+ MO_Touch ->
+ panic $ "outOfLineCmmOp: MO_Touch not supported"
-- -----------------------------------------------------------------------------
-- Generating a table-branch