[project @ 2001-05-03 14:31:58 by simonmar]
authorsimonmar <unknown>
Thu, 3 May 2001 14:31:58 +0000 (14:31 +0000)
committersimonmar <unknown>
Thu, 3 May 2001 14:31:58 +0000 (14:31 +0000)
commit4c72f121a7d02b061ce98a995b92255ae91498f4
treea8a67c7e17d894cf7fe1306cf156ce3c4f6efb50
parentbbc670f4ac4428a3a13ab34c2843381a82698ff4
[project @ 2001-05-03 14:31:58 by simonmar]
Arrange to call touch# on each ForeignObj# argument after a 'safe'
foreign import call.

This turned out to be the easiest place to implement it: if we'd done
it in CorePrep or CoreToStg, it would have been awkward to generate
the simplest code.  At least doing it in the desugarer gives the
simplifier a crack at it later.
ghc/compiler/deSugar/DsCCall.lhs
ghc/compiler/deSugar/DsForeign.lhs