summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2020-06-02 13:09:13 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-10 03:41:07 -0400
commit92de9e25aa1a6f7aa73154868521bcf4f0dc9d1e (patch)
tree9ae6206d28d5259350a20a55a9408c4775ed5746 /includes
parent2487912938f188cb264e4a11d21bf750adccc5e7 (diff)
downloadhaskell-92de9e25aa1a6f7aa73154868521bcf4f0dc9d1e.tar.gz
rts: Remove unused GET_ENTRY closure macro
This macro is not used and got broken in the meantime, as ENTRY_CODE was deleted.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/storage/ClosureMacros.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/rts/storage/ClosureMacros.h b/includes/rts/storage/ClosureMacros.h
index 0043145c3f..0e956c4fa3 100644
--- a/includes/rts/storage/ClosureMacros.h
+++ b/includes/rts/storage/ClosureMacros.h
@@ -52,8 +52,6 @@ INLINE_HEADER const StgInfoTable *GET_INFO(StgClosure *c) {
return c->header.info;
}
-#define GET_ENTRY(c) (ENTRY_CODE(GET_INFO(c)))
-
#if defined(TABLES_NEXT_TO_CODE)
EXTERN_INLINE StgInfoTable *INFO_PTR_TO_STRUCT(const StgInfoTable *info);
EXTERN_INLINE StgInfoTable *INFO_PTR_TO_STRUCT(const StgInfoTable *info) {return (StgInfoTable *)info - 1;}