summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-01-18 00:50:31 -0500
committerBen Gamari <ben@smart-cactus.org>2018-01-18 00:50:31 -0500
commite1d4140be4d2a1508015093b69e1ef53516e1eb6 (patch)
tree93b5ffd337e78ca6d54073b9935bd9ac459199a9 /includes
parent8bb150df9e5e711d67f9800c0d694ecf457cd8f5 (diff)
downloadhaskell-e1d4140be4d2a1508015093b69e1ef53516e1eb6.tar.gz
Revert "Improve accuracy of get/setAllocationCounter"
This reverts commit a1a689dda48113f3735834350fb562bb1927a633.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Threads.h2
-rw-r--r--includes/stg/MiscClosures.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h
index f72f5ed121..fceacdc75d 100644
--- a/includes/rts/Threads.h
+++ b/includes/rts/Threads.h
@@ -43,6 +43,8 @@ StgRegTable * resumeThread (void *);
//
int cmp_thread (StgPtr tso1, StgPtr tso2);
int rts_getThreadId (StgPtr tso);
+HsInt64 rts_getThreadAllocationCounter (StgPtr tso);
+void rts_setThreadAllocationCounter (StgPtr tso, HsInt64 i);
void rts_enableThreadAllocationLimit (StgPtr tso);
void rts_disableThreadAllocationLimit (StgPtr tso);
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 1fbfab9fbe..76cfbd6c8c 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -468,9 +468,6 @@ RTS_FUN_DECL(stg_traceCcszh);
RTS_FUN_DECL(stg_clearCCSzh);
RTS_FUN_DECL(stg_traceEventzh);
RTS_FUN_DECL(stg_traceMarkerzh);
-RTS_FUN_DECL(stg_getThreadAllocationCounterzh);
-RTS_FUN_DECL(stg_setThreadAllocationCounterzh);
-
/* Other misc stuff */
// See wiki:Commentary/Compiler/Backends/PprC#Prototypes