summaryrefslogtreecommitdiff
path: root/ghc/includes/Closures.h
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-01-29 17:23:41 +0000
committersimonmar <unknown>2001-01-29 17:23:41 +0000
commitee3e75b51e5a86dda79bb990a83bfaa49915a22a (patch)
tree5080e94899a9e26ff6ee637e7af13ffd6474d302 /ghc/includes/Closures.h
parent489aed0633fced729097280d760db9d497481846 (diff)
downloadhaskell-ee3e75b51e5a86dda79bb990a83bfaa49915a22a.tar.gz
[project @ 2001-01-29 17:23:40 by simonmar]
Remove the old Hugs CAF code, install our own (minimal, somewhat cryptic, but better commented) CAF reversion story. See Storage.c:newCaf() for the details.
Diffstat (limited to 'ghc/includes/Closures.h')
-rw-r--r--ghc/includes/Closures.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/ghc/includes/Closures.h b/ghc/includes/Closures.h
index 2c38541d6b..c4fcce92da 100644
--- a/ghc/includes/Closures.h
+++ b/ghc/includes/Closures.h
@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------------
- * $Id: Closures.h,v 1.24 2000/12/19 16:48:58 sewardj Exp $
+ * $Id: Closures.h,v 1.25 2001/01/29 17:23:41 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
@@ -186,18 +186,13 @@ typedef struct {
} StgIndOldGen;
typedef struct {
- StgHeader header;
- StgClosure *indirectee;
- StgClosure *static_link;
-} StgIndStatic;
-
-typedef struct StgCAF_ {
StgHeader header;
- StgClosure *body;
- StgMutClosure *mut_link;
- StgClosure *value;
- struct StgCAF_ *link;
-} StgCAF;
+ StgClosure *indirectee;
+ StgClosure *static_link;
+#ifdef GHCI
+ struct _StgInfoTable *saved_info;
+#endif
+} StgIndStatic;
typedef struct {
StgHeader header;