Re: [commit: ghc] master: Make nativeCodeGen return the rest of its UniqSupply (6bdac1c)
Simon Marlow <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
On 06/12/12 21:52, Ian Lynagh wrote: > Repository : ssh://darcs.haskell.org//srv/darcs/ghc > > On branch : master > > http://hackage.haskell.org/trac/ghc/changeset/6bdac1c375dc754ad3a540f704437650b43474c1 > >> --------------------------------------------------------------- > > commit 6bdac1c375dc754ad3a540f704437650b43474c1 > Author: Ian Lynagh <[email protected]> > Date: Thu Dec 6 19:34:27 2012 +0000 > > Make nativeCodeGen return the rest of its UniqSupply I just wanted to mention I think it's important to do the code generation on a function-by-function basis, ie. generate both static & dynamic code for one CmmGroup, before going onto the next one. This way we keep the heap profile flat. Cheers, Simon