summaryrefslogtreecommitdiff
path: root/rts/Stable.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Stable.c')
-rw-r--r--rts/Stable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rts/Stable.c b/rts/Stable.c
index b427c94965..c46f8b2b9e 100644
--- a/rts/Stable.c
+++ b/rts/Stable.c
@@ -188,9 +188,7 @@ removeIndirections(StgClosure* p)
while (get_itbl(q)->type == IND ||
get_itbl(q)->type == IND_STATIC ||
- get_itbl(q)->type == IND_OLDGEN ||
- get_itbl(q)->type == IND_PERM ||
- get_itbl(q)->type == IND_OLDGEN_PERM ) {
+ get_itbl(q)->type == IND_PERM) {
q = ((StgInd *)q)->indirectee;
tag = GET_CLOSURE_TAG(q);
q = UNTAG_CLOSURE(q);