From: sof Date: Thu, 4 Sep 1997 20:17:59 +0000 (+0000) Subject: [project @ 1997-09-04 20:17:59 by sof] X-Git-Tag: Approximately_1000_patches_recorded~10 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3e5d7e369352a035920980c5c95af482d10e3cde [project @ 1997-09-04 20:17:59 by sof] ppr wibble --- diff --git a/ghc/compiler/nativeGen/AsmCodeGen.lhs b/ghc/compiler/nativeGen/AsmCodeGen.lhs index fad3653..d57f34b 100644 --- a/ghc/compiler/nativeGen/AsmCodeGen.lhs +++ b/ghc/compiler/nativeGen/AsmCodeGen.lhs @@ -83,8 +83,8 @@ writeRealAsm :: Handle -> AbstractC -> UniqSupply -> IO () writeRealAsm handle absC us = _scc_ "writeRealAsm" (printDoc LeftMode handle (runNCG absC us)) -dumpRealAsm :: AbstractC -> UniqSupply -> String -dumpRealAsm absC us = show (runNCG absC us) +dumpRealAsm :: AbstractC -> UniqSupply -> Doc +dumpRealAsm = runNCG runNCG absC = genCodeAbstractC absC `thenUs` \ treelists ->