remove conditionals from definition of StgRegTable
authorSimon Marlow <simonmar@microsoft.com>
Thu, 29 Jun 2006 13:44:05 +0000 (13:44 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 29 Jun 2006 13:44:05 +0000 (13:44 +0000)
so that we can calculate deterministic offsets to some of the fields
of Capability.

includes/Regs.h

index bd7cb53..2c9546d 100644 (file)
@@ -117,9 +117,7 @@ typedef struct StgRegTable_ {
   MP_INT          rmp_result1;
   MP_INT          rmp_result2;
   StgWord         rRet;  // holds the return code of the thread
-#if defined(THREADED_RTS) || defined(PAR)
   StgSparkPool    rSparks;     /* per-task spark pool */
-#endif
 } StgRegTable;
 
 #if IN_STG_CODE