[project @ 2000-12-19 16:48:58 by sewardj]
[ghc-hetmet.git] / ghc / includes / Closures.h
index 497fc82..2c38541 100644 (file)
@@ -1,5 +1,5 @@
 /* ----------------------------------------------------------------------------
- * $Id: Closures.h,v 1.23 2000/12/19 12:34:00 sewardj Exp $
+ * $Id: Closures.h,v 1.24 2000/12/19 16:48:58 sewardj Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -176,14 +176,6 @@ typedef struct {
 
 typedef struct {
     StgHeader   header;
-    StgClosure *instrs;                /* a pointer to an ArrWords */
-    StgClosure *literals;      /* a pointer to an ArrWords */
-    StgClosure *ptrs;          /* a pointer to a MutArrPtrs */
-    StgClosure *itbls;         /* a pointer to an ArrWords */
-} StgBCO;
-
-typedef struct {
-    StgHeader   header;
     StgClosure *indirectee;
 } StgInd;
 
@@ -226,6 +218,14 @@ typedef struct {
     StgMutClosure *mut_link;
 } StgMutVar;
 
+typedef struct {
+    StgHeader      header;
+    StgArrWords   *instrs;     /* a pointer to an ArrWords */
+    StgArrWords   *literals;   /* a pointer to an ArrWords */
+    StgMutArrPtrs *ptrs;       /* a pointer to a MutArrPtrs */
+    StgArrWords   *itbls;      /* a pointer to an ArrWords */
+} StgBCO;
+
 /* 
    A collective typedef for all linkable stack frames i.e.
      StgUpdateFrame, StgSeqFrame, StgCatchFrame