[cvs-nhc98] Avoid creation of source references to trusted code.
User olaf
olaf@sparud.net
Tue, 10 Apr 2001 18:30:05 +0200 (CEST)
olaf: Tue Apr 10 18:30:05 CEST 2001
Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv24647/src/compiler98
Modified Files:
DbgId.hs DbgTrans.hs Remove1_3.hs
Log Message:
Avoid creation of source references to trusted code.
Changed trace transformation and combinators to use mkNoSR for source
references to trusted code. The only remaining source references to
trusted code are those for the definition position of trusted functions.
I didn't want to change the name table, where these are stored. Moreover,
it seems desirable to keep at least the information in which module
a trusted function is defined.
The change decreases numbers of source references and modules only slightly and has no effect on speed. However, curiously the number of Hidden nodes is increased. I have no idea, why. I actually removed some superfluous calls of hide in the trusted application combinators.