Give the correct type to CCCS
authorSimon Marlow <marlowsd@gmail.com>
Wed, 4 Jan 2012 15:23:27 +0000 (15:23 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 5 Jan 2012 15:20:17 +0000 (15:20 +0000)
Needed by #5357

includes/stg/Regs.h

index 1f22c60..bfc3d4b 100644 (file)
@@ -347,7 +347,7 @@ GLOBAL_REG_DECL(P_,Hp,REG_Hp)
 #endif
 
 #if defined(REG_CCCS) && !defined(NO_GLOBAL_REG_DECLS)
-GLOBAL_REG_DECL(P_,CCCS,REG_CCCS)
+GLOBAL_REG_DECL(struct CostCentreStack_ *,CCCS,REG_CCCS)
 #else
 #define CCCS (BaseReg->rCCCS)
 #endif