summaryrefslogtreecommitdiff
path: root/pthread_stop_world.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_stop_world.c')
-rw-r--r--pthread_stop_world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index 254fca17..f9e78ad7 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -840,7 +840,7 @@ GC_INNER void GC_push_all_stacks(void)
traced_stack_sect = traced_stack_sect->prev;
}
}
- if ((p -> flags & MAIN_THREAD) == 0) {
+ if (EXPECT((p -> flags & MAIN_THREAD) == 0, TRUE)) {
hi = p -> stack_end;
# ifdef IA64
bs_lo = p -> backing_store_end;