[cvs-nhc98] patch applied (hat): Enable sharing of traced methods that are cafs.

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


Thu Apr 19 07:26:13 PDT 2001  olaf
  * Enable sharing of traced methods that are cafs.
  
  Methods definitions were always transformed as functions, even when they had arity 0. The reason was that an instance or class definition may not contain definitions for any other variables than the class variables. Such additional definitions are necessary to implement the sharing of cafs.
  
  Now the transformation distinguishes between the transformed definitions for the original variables and additional auxillary definitions. The latter are put just behind the instance/class definitions.
  
  The Mate trace file gets 1% smaller. Surprisingly runtime seems to slow down by 2-3%.

    M ./src/compiler98/DbgTrans.hs -86 +106


More information about the Cvs-nhc98 mailing list