[commit: ghc] master: Typo-fix for panic. (1c03cdf)
Edward Z. Yang
ezyang at MIT.EDU
Tue Mar 12 01:22:30 CET 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1c03cdfce8713de952ce5838c03177c097e34923
>---------------------------------------------------------------
commit 1c03cdfce8713de952ce5838c03177c097e34923
Author: Edward Z. Yang <ezyang at mit.edu>
Date: Mon Mar 11 17:22:24 2013 -0700
Typo-fix for panic.
Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
>---------------------------------------------------------------
compiler/codeGen/StgCmmPrim.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/codeGen/StgCmmPrim.hs b/compiler/codeGen/StgCmmPrim.hs
index 05ef2b2..fb5acde 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
More information about the ghc-commits
mailing list