[cvs-nhc98] patch applied (hat): Avoid creation of source references to trusted code.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:03:07 EDT 2006


Tue Apr 10 09:30:05 PDT 2001  olaf
  * 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.

    M ./src/compiler98/DbgId.hs -3 +10
    M ./src/compiler98/DbgTrans.hs -85 +171
    M ./src/compiler98/Remove1_3.hs -1 +1
    M ./src/old/runtime/fileformat.c -1 +1


More information about the Cvs-nhc98 mailing list