From: keithw Date: Mon, 29 Mar 1999 14:09:36 +0000 (+0000) Subject: [project @ 1999-03-29 14:09:36 by keithw] X-Git-Tag: Approximately_9120_patches~6338 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=01ccc13fce6a0fb9e8cd19a5b5697da62feb1750;p=ghc-hetmet.git [project @ 1999-03-29 14:09:36 by keithw] Useful comment added. (this is really a CVS checkin test, please ignore...) --keithw --- diff --git a/ghc/compiler/stgSyn/StgSyn.lhs b/ghc/compiler/stgSyn/StgSyn.lhs index 4e8ab45..1f67634 100644 --- a/ghc/compiler/stgSyn/StgSyn.lhs +++ b/ghc/compiler/stgSyn/StgSyn.lhs @@ -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