projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1999-05-11 16:44:02 by keithw]
[ghc-hetmet.git]
/
ghc
/
compiler
/
nativeGen
/
AsmCodeGen.lhs
diff --git
a/ghc/compiler/nativeGen/AsmCodeGen.lhs
b/ghc/compiler/nativeGen/AsmCodeGen.lhs
index
ce8587b
..
6ed3e5b
100644
(file)
--- a/
ghc/compiler/nativeGen/AsmCodeGen.lhs
+++ b/
ghc/compiler/nativeGen/AsmCodeGen.lhs
@@
-22,7
+22,7
@@
import PrimOp ( commutableOp, PrimOp(..) )
import RegAllocInfo ( mkMRegsState, MRegsState )
import Stix ( StixTree(..), StixReg(..) )
import PrimRep ( isFloatingRep )
import RegAllocInfo ( mkMRegsState, MRegsState )
import Stix ( StixTree(..), StixReg(..) )
import PrimRep ( isFloatingRep )
-import UniqSupply ( returnUs, thenUs, mapUs, initUs, UniqSM, UniqSupply )
+import UniqSupply ( returnUs, thenUs, mapUs, initUs_, UniqSM, UniqSupply )
import UniqFM ( UniqFM, emptyUFM, addToUFM, lookupUFM )
import Outputable
import UniqFM ( UniqFM, emptyUFM, addToUFM, lookupUFM )
import Outputable
@@
-80,10
+80,10
@@
So, here we go:
writeRealAsm :: Handle -> AbstractC -> UniqSupply -> IO ()
writeRealAsm handle absC us
= -- _scc_ "writeRealAsm"
writeRealAsm :: Handle -> AbstractC -> UniqSupply -> IO ()
writeRealAsm handle absC us
= -- _scc_ "writeRealAsm"
- printForAsm handle (initUs us (runNCG absC))
+ printForAsm handle (initUs_ us (runNCG absC))
dumpRealAsm :: AbstractC -> UniqSupply -> SDoc
dumpRealAsm :: AbstractC -> UniqSupply -> SDoc
-dumpRealAsm absC us = initUs us (runNCG absC)
+dumpRealAsm absC us = initUs_ us (runNCG absC)
runNCG absC
= genCodeAbstractC absC `thenUs` \ treelists ->
runNCG absC
= genCodeAbstractC absC `thenUs` \ treelists ->