summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-12-17 13:25:43 +0000
committerSergei Trofimovich <siarheit@google.com>2016-12-17 16:47:29 +0000
commit2fa00f5b22dd9ea39eb1f5c9b52bbdbca0a37925 (patch)
tree0a032437528dcfd8bdbea58e01de17a8fcd1358b /includes
parentc8ed1bdc02e68f8cab32a6a44520b896d37310a5 (diff)
downloadhaskell-2fa00f5b22dd9ea39eb1f5c9b52bbdbca0a37925.tar.gz
UNREG: include CCS_OVERHEAD to STG
Commit 394231b301efb6b56654b0a480ab794fe3b7e4db aded CCS_OVERHEAD annotation to 'rts/Apply.cmm'. Before the change CCS_OVERHEAD was used only in C code. The change exports CCS_OVERHEAD to STG. Fixes UNREG build failure: rts_dist_HC rts/dist/build/Apply.p_o /tmp/ghc29563_0/ghc_4.hc: In function 'cm_entry': /tmp/ghc29563_0/ghc_4.hc:73:13: error: error: 'CCS_OVERHEAD' undeclared (first use in this function) *((P_)((W_)&CCS_OVERHEAD+72)) = ... ^~~~~~~~~~~~ Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'includes')
-rw-r--r--includes/stg/MiscClosures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 65562b2c4b..b3f9a69472 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -512,6 +512,7 @@ extern unsigned int RTS_VAR(era);
extern unsigned int RTS_VAR(entering_PAP);
extern StgWord RTS_VAR(CC_LIST); /* registered CC list */
extern StgWord RTS_VAR(CCS_LIST); /* registered CCS list */
+extern StgWord CCS_OVERHEAD[];
extern StgWord CCS_SYSTEM[];
extern unsigned int RTS_VAR(CC_ID); /* global ids */
extern unsigned int RTS_VAR(CCS_ID);