fix for ASSIGN_BaseReg() in the unregisterised way
authorSimon Marlow <simonmar@microsoft.com>
Wed, 22 Feb 2006 14:18:36 +0000 (14:18 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 22 Feb 2006 14:18:36 +0000 (14:18 +0000)
ghc/includes/Regs.h

index 2181de2..b6e2921 100644 (file)
@@ -355,7 +355,7 @@ GLOBAL_REG_DECL(StgRegTable *,BaseReg,REG_Base)
 #error BaseReg must be in a register for THREADED_RTS
 #endif
 #define BaseReg (&((struct PartCapability_ *)MainCapability)->r)
-#define ASSIGN_BaseReg(e) /*nothing*/
+#define ASSIGN_BaseReg(e) (e)
 #endif
 
 #if defined(REG_Sp) && !defined(NO_GLOBAL_REG_DECLS)