summaryrefslogtreecommitdiff
path: root/rts/sm/Evac.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/Evac.c')
-rw-r--r--rts/sm/Evac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c
index 198c37d5a9..a8559e7e00 100644
--- a/rts/sm/Evac.c
+++ b/rts/sm/Evac.c
@@ -536,13 +536,13 @@ loop:
switch (info->type) {
case THUNK_STATIC:
- if (info->has_srt != 0) {
+ if (info->srt != 0) {
evacuate_static_object(THUNK_STATIC_LINK((StgClosure *)q), q);
}
return;
case FUN_STATIC:
- if (info->has_srt != 0) {
+ if (info->srt != 0) {
evacuate_static_object(FUN_STATIC_LINK((StgClosure *)q), q);
}
return;