X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Frts%2Fstorage%2FClosures.h;h=5f4f03541f088545160836d58e4ee8ac20e04c53;hb=679a7c41949c438c0a6ace92b0334bb795690738;hp=a0ff738aa7ada48a2b85c82ce6f9f68f0f1333ad;hpb=f4692220c7cbdadaa633f50eb2b30b59edb30183;p=ghc-hetmet.git diff --git a/includes/rts/storage/Closures.h b/includes/rts/storage/Closures.h index a0ff738..5f4f035 100644 --- a/includes/rts/storage/Closures.h +++ b/includes/rts/storage/Closures.h @@ -124,7 +124,7 @@ typedef struct { StgHeader header; StgClosure *indirectee; StgClosure *static_link; - StgInfoTable *saved_info; + const StgInfoTable *saved_info; } StgIndStatic; typedef struct StgBlockingQueue_ { @@ -137,7 +137,7 @@ typedef struct StgBlockingQueue_ { typedef struct { StgHeader header; - StgWord words; + StgWord bytes; StgWord payload[FLEXIBLE_ARRAY]; } StgArrWords; @@ -161,11 +161,16 @@ typedef struct _StgUpdateFrame { typedef struct { StgHeader header; - StgInt exceptions_blocked; + StgWord exceptions_blocked; StgClosure *handler; } StgCatchFrame; typedef struct { + const StgInfoTable* info; + struct StgStack_ *next_chunk; +} StgUnderflowFrame; + +typedef struct { StgHeader header; } StgStopFrame;