improve a panic message
authorSimon Marlow <simonmar@microsoft.com>
Tue, 20 Jun 2006 14:12:19 +0000 (14:12 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 20 Jun 2006 14:12:19 +0000 (14:12 +0000)
compiler/nativeGen/MachCodeGen.hs

index 7f09c9d..0d8aa4e 100644 (file)
@@ -2047,7 +2047,7 @@ getCondCode (CmmMachOp mop [x, y])
       MO_U_Lt rep -> condIntCode LU   x y
       MO_U_Le rep -> condIntCode LEU  x y
 
-      other -> pprPanic "getCondCode(x86,sparc)" (pprMachOp mop)
+      other -> pprPanic "getCondCode(x86,x86_64,sparc)" (ppr (CmmMachOp mop [x,y]))
 
 getCondCode other =  pprPanic "getCondCode(2)(x86,sparc)" (ppr other)