aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c
index cc9ba8dbf50..ebc55857ea0 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4944,12 +4944,10 @@ typedef union
4944#ifdef HAVE___BUILTIN_UNWIND_INIT 4944#ifdef HAVE___BUILTIN_UNWIND_INIT
4945# define SET_STACK_TOP_ADDRESS(p) \ 4945# define SET_STACK_TOP_ADDRESS(p) \
4946 stacktop_sentry sentry; \ 4946 stacktop_sentry sentry; \
4947 __builtin_unwind_init (); \
4948 *(p) = NEAR_STACK_TOP (&sentry) 4947 *(p) = NEAR_STACK_TOP (&sentry)
4949#else 4948#else
4950# define SET_STACK_TOP_ADDRESS(p) \ 4949# define SET_STACK_TOP_ADDRESS(p) \
4951 stacktop_sentry sentry; \ 4950 stacktop_sentry sentry; \
4952 __builtin_unwind_init (); \
4953 test_setjmp (); \ 4951 test_setjmp (); \
4954 sys_setjmp (sentry.j); \ 4952 sys_setjmp (sentry.j); \
4955 *(p) = NEAR_STACK_TOP (&sentry + (stack_bottom < &sentry.c)) 4953 *(p) = NEAR_STACK_TOP (&sentry + (stack_bottom < &sentry.c))
@@ -5025,7 +5023,7 @@ mark_stack (char const *bottom, char const *end)
5025 from FUNC. */ 5023 from FUNC. */
5026 5024
5027NO_INLINE void 5025NO_INLINE void
5028flush_stack_call_func (void (*func) (void *arg), void *arg) 5026flush_stack_call_func1 (void (*func) (void *arg), void *arg)
5029{ 5027{
5030 void *end; 5028 void *end;
5031 struct thread_state *self = current_thread; 5029 struct thread_state *self = current_thread;