[project @ 1999-05-11 16:44:02 by keithw]
authorkeithw <unknown>
Tue, 11 May 1999 16:44:07 +0000 (16:44 +0000)
committerkeithw <unknown>
Tue, 11 May 1999 16:44:07 +0000 (16:44 +0000)
commit5c0b6550fca5edf00145aa00a1cf7ce6f132386c
tree37aa7252da8bbd8bad699f73b7344ed500f45bbc
parentf54faab00c4352c0bd3ba2d5ed603cc3bf1c3fec
[project @ 1999-05-11 16:44:02 by keithw]
(this is number 7 of 9 commits to be applied together)

  The code generator now incorporates the update avoidance
  optimisation: a thunk of __o type is now made SingleEntry rather
  than Updatable.

  We want to verify that SingleEntry thunks are indeed entered at most
  once.  In order to do this, -ticky turns on eager blackholing.
  Ordinary thunks will be dealt with by the RTS, but CAFs are
  blackholed by the code generator.  We blackhole with new blackholes:
  SE_CAF_BLACKHOLE.  We will enter one of these if we attempt to enter
  a SingleEntry thunk twice.
ghc/compiler/absCSyn/CLabel.lhs
ghc/compiler/codeGen/CgClosure.lhs
ghc/compiler/codeGen/ClosureInfo.lhs
ghc/compiler/nativeGen/AsmCodeGen.lhs
ghc/compiler/profiling/SCCfinal.lhs
ghc/compiler/stgSyn/CoreToStg.lhs