summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2013-03-11 17:22:24 -0700
committerEdward Z. Yang <ezyang@mit.edu>2013-03-11 17:22:24 -0700
commit1c03cdfce8713de952ce5838c03177c097e34923 (patch)
tree97a20a9e4dc757b62ee968b93637dc638a091546 /compiler/codeGen
parent8aefdc085bea0e20f79d16c417507a36ba2d0f8f (diff)
downloadhaskell-1c03cdfce8713de952ce5838c03177c097e34923.tar.gz
Typo-fix for panic.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'compiler/codeGen')
-rw-r--r--compiler/codeGen/StgCmmPrim.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmPrim.hs b/compiler/codeGen/StgCmmPrim.hs
index 05ef2b270c..fb5acde956 100644
--- a/compiler/codeGen/StgCmmPrim.hs
+++ b/compiler/codeGen/StgCmmPrim.hs
@@ -675,7 +675,7 @@ callishPrimOpSupported dflags op
WordMul2Op | ncg && x86ish -> Left (MO_U_Mul2 (wordWidth dflags))
| otherwise -> Right genericWordMul2Op
- _ -> panic "emitPrimOp: can't translate PrimOp" (ppr op)
+ _ -> pprPanic "emitPrimOp: can't translate PrimOp " (ppr op)
where
ncg = case hscTarget dflags of
HscAsm -> True