projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ae6b5
)
[project @ 1997-09-04 20:17:59 by sof]
author
sof
<unknown>
Thu, 4 Sep 1997 20:17:59 +0000
(20:17 +0000)
committer
sof
<unknown>
Thu, 4 Sep 1997 20:17:59 +0000
(20:17 +0000)
ppr wibble
ghc/compiler/nativeGen/AsmCodeGen.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/AsmCodeGen.lhs
b/ghc/compiler/nativeGen/AsmCodeGen.lhs
index
fad3653
..
d57f34b
100644
(file)
--- 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 ->