summaryrefslogtreecommitdiff
path: root/rts/ClosureFlags.c
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2016-01-23 13:12:10 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-23 13:12:10 +0100
commitf42db1574935b088cfc13cca7c935990002651dc (patch)
tree67b2465848dad3a0b76485b42fe8af2b92c04bce /rts/ClosureFlags.c
parent4e04043d1bb458439d3c3db3ffa9851bff780083 (diff)
downloadhaskell-f42db1574935b088cfc13cca7c935990002651dc.tar.gz
Remove unused IND_PERM
it seems that this closure type has not been in use since 5d52d9, so all this is dead and untested code. This removes it. Some of the code might be useful for a counting indirection as described in #10613, so when implementing that, have a look at what this commit removes. Test Plan: validate on harbormaster Reviewers: austin, bgamari, simonmar Reviewed By: simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1821
Diffstat (limited to 'rts/ClosureFlags.c')
-rw-r--r--rts/ClosureFlags.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rts/ClosureFlags.c b/rts/ClosureFlags.c
index c43437dc04..cd2c7e1435 100644
--- a/rts/ClosureFlags.c
+++ b/rts/ClosureFlags.c
@@ -50,7 +50,6 @@ StgWord16 closure_flags[] = {
[PAP] = (_HNF| _NS ),
[AP_STACK] = ( _THU ),
[IND] = ( _NS| _IND ),
- [IND_PERM] = ( _NS| _IND ),
[IND_STATIC] = ( _NS|_STA| _IND ),
[RET_BCO] = ( 0 ),
[RET_SMALL] = ( _BTM| _SRT ),
@@ -88,6 +87,6 @@ StgWord16 closure_flags[] = {
[SMALL_MUT_ARR_PTRS_FROZEN] = (_HNF| _NS| _UPT )
};
-#if N_CLOSURE_TYPES != 65
+#if N_CLOSURE_TYPES != 64
#error Closure types changed: update ClosureFlags.c!
#endif