/* ----------------------------------------------------------------------------
- * $Id: Closures.h,v 1.20 2000/12/11 12:36:59 simonmar Exp $
+ * $Id: Closures.h,v 1.21 2000/12/11 12:59:25 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
typedef struct {
StgHeader header;
- StgPtr literals; /* a pointer to an ArrWords */
- StgPtr instrs; /* a pointer to an ArrWords */
- StgPtr ptrs; /* a pointer to a MutArrPtrs */
+ StgClosure *literals; /* a pointer to an ArrWords */
+ StgClosure *instrs; /* a pointer to an ArrWords */
+ StgClosure *ptrs; /* a pointer to a MutArrPtrs */
} StgBCO;
typedef struct {
/* -----------------------------------------------------------------------------
- * $Id: PrimOps.hc,v 1.61 2000/12/11 12:56:14 simonmar Exp $
+ * $Id: PrimOps.hc,v 1.62 2000/12/11 12:59:25 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
CCS_ALLOC(CCCS,sizeofW(StgBCO)); /* ccs prof */
bco = (StgBCO *) (Hp + 1 - sizeof(StgBCO));
- SET_HDR(w, &stg_BCO_info, CCCS);
+ SET_HDR(bco, &stg_BCO_info, CCCS);
- w->instrs = R1.cl;
- w->literals = R2.cl;
- w->ptrs = R3.cl;
+ bco->instrs = R1.cl;
+ bco->literals = R2.cl;
+ bco->ptrs = R3.cl;
TICK_RET_UNBOXED_TUP(1);
- RET_P(w);
+ RET_P(bco);
FE_
}