[project @ 2005-07-26 12:15:54 by simonmar]
authorsimonmar <unknown>
Tue, 26 Jul 2005 12:15:54 +0000 (12:15 +0000)
committersimonmar <unknown>
Tue, 26 Jul 2005 12:15:54 +0000 (12:15 +0000)
printing C: use the quick printForC rather than the slow (but
prettier) printForUser.  This has been a ToDo for a while.

ghc/compiler/cmm/PprC.hs

index 9c494fe..8bcfd0c 100644 (file)
@@ -69,8 +69,7 @@ pprCs dflags cmms
 
 writeCs :: DynFlags -> Handle -> [Cmm] -> IO ()
 writeCs dflags handle cmms 
-  = printForUser handle alwaysQualify (pprCs dflags cmms)
-       -- ToDo: should be printForC
+  = printForC handle (pprCs dflags cmms)
 
 -- --------------------------------------------------------------------------
 -- Now do some real work