Use takeUniqFromSupply in emitProcWithConvention
authorIan Lynagh <igloo@earth.li>
Thu, 21 Oct 2010 12:08:53 +0000 (12:08 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 21 Oct 2010 12:08:53 +0000 (12:08 +0000)
commit7f476a8a4006acaf0a2ee8b7a9d05f0377cca94b
tree6bcc28b1727337fa05e488d165487972219b3299
parent7ec78f77f4d591a2ab0090769920fd4773641c33
Use takeUniqFromSupply in emitProcWithConvention
We were using the supply's unique, and then passing the same supply to
initUs_, which sounds like a bug waiting to happen.
compiler/codeGen/StgCmmMonad.hs