Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1c9af8558ee1573843bc56103bb165609bc3b047

>---------------------------------------------------------------

commit 1c9af8558ee1573843bc56103bb165609bc3b047
Author: David Terei <[email protected]>
Date:   Sat Nov 19 17:38:18 2011 -0800

    Fix missing primop in PprC

>---------------------------------------------------------------

 compiler/cmm/PprC.hs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index de7ec80..d1d2693 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -655,8 +655,9 @@ pprCallishMachOp_for_C mop
         MO_Memcpy       -> ptext (sLit "memcpy")
         MO_Memset       -> ptext (sLit "memset")
         MO_Memmove      -> ptext (sLit "memmove")
-        a -> panic $ "pprCallishMachOp_for_C: Unknown callish op! ("
-                      ++ show a ++ ")"
+        (MO_PopCnt w)   -> ptext (sLit $ popCntLabel w)
+
+        MO_Touch -> panic $ "pprCallishMachOp_for_C: MO_Touch not supported!"
 
 -- ---------------------------------------------------------------------
 -- Useful #defines



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to