summaryrefslogtreecommitdiff
path: root/includes/stg
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-01-10 14:39:16 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2019-01-12 01:02:30 -0500
commitcb2349a4233d6bdef2d7090853397e6278a7378c (patch)
treebb2cadf6dc87d9bda5957098b09b15a6ca0395fb /includes/stg
parent92b684ded87d24b5770f1abd23c07570bbde43db (diff)
downloadhaskell-cb2349a4233d6bdef2d7090853397e6278a7378c.tar.gz
Documentation and refactoring in CCS related code
- Remove REGISTER_CC and REGISTER_CCS macros, add functions registerCC and registerCCS to Profiling.c. - Reduce scope of symbols: CC_LIST, CCS_LIST, CC_ID, CCS_ID - Document CC_LIST and CCS_LIST
Diffstat (limited to 'includes/stg')
-rw-r--r--includes/stg/MiscClosures.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index c13b5ff052..8c4cb9fc8c 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -523,12 +523,8 @@ extern StgWord RTS_VAR(stable_name_table);
// Profiling.c
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);
// Calls to these rts functions are generated directly
// by codegen (see compiler/codeGen/StgCmmProf.hs)