[project @ 1999-03-29 14:09:36 by keithw]
authorkeithw <unknown>
Mon, 29 Mar 1999 14:09:36 +0000 (14:09 +0000)
committerkeithw <unknown>
Mon, 29 Mar 1999 14:09:36 +0000 (14:09 +0000)
Useful comment added.
(this is really a CVS checkin test, please ignore...)  --keithw

ghc/compiler/stgSyn/StgSyn.lhs

index 4e8ab45..1f67634 100644 (file)
@@ -445,6 +445,12 @@ type StgCaseDefault = GenStgCaseDefault    Id Id
 
 This is also used in @LambdaFormInfo@ in the @ClosureInfo@ module.
 
+A @ReEntrant@ closure may be entered multiple times, but should not be
+updated or blackholed.  An @Updatable@ closure should be updated after
+evaluation (and may be blackholed during evaluation).  A @SingleEntry@
+closure will only be entered once, and so need not be updated but may
+safely be blackholed.
+
 \begin{code}
 data UpdateFlag = ReEntrant | Updatable | SingleEntry