simonmar 2003/09/19 08:58:02 PDT
Modified files:
ghc/compiler/absCSyn AbsCUtils.lhs
Log:
The whole family of index<blah>OffForeignPtr# primops has been broken
for some time now. This commit fixes them.
I'm tempted to get rid of them altogether, since arguably the
withForeignPtr interface subsumes all this. But if you want to index
off a ForeignPtr in pure code, you have to use unsafePerformIO, which
is hard to optimise away (GHC doesn't do it), so these primops still
have their uses.
Revision Changes Path
1.58 +1 -1 fptools/ghc/compiler/absCSyn/AbsCUtils.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc