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 f2b80fac882..d6ba4d97905 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4952,12 +4952,10 @@ typedef union
4952#ifdef HAVE___BUILTIN_UNWIND_INIT 4952#ifdef HAVE___BUILTIN_UNWIND_INIT
4953# define SET_STACK_TOP_ADDRESS(p) \ 4953# define SET_STACK_TOP_ADDRESS(p) \
4954 stacktop_sentry sentry; \ 4954 stacktop_sentry sentry; \
4955 __builtin_unwind_init (); \
4956 *(p) = NEAR_STACK_TOP (&sentry) 4955 *(p) = NEAR_STACK_TOP (&sentry)
4957#else 4956#else
4958# define SET_STACK_TOP_ADDRESS(p) \ 4957# define SET_STACK_TOP_ADDRESS(p) \
4959 stacktop_sentry sentry; \ 4958 stacktop_sentry sentry; \
4960 __builtin_unwind_init (); \
4961 test_setjmp (); \ 4959 test_setjmp (); \
4962 sys_setjmp (sentry.j); \ 4960 sys_setjmp (sentry.j); \
4963 *(p) = NEAR_STACK_TOP (&sentry + (stack_bottom < &sentry.c)) 4961 *(p) = NEAR_STACK_TOP (&sentry + (stack_bottom < &sentry.c))
@@ -5033,7 +5031,7 @@ mark_stack (char const *bottom, char const *end)
5033 from FUNC. */ 5031 from FUNC. */
5034 5032
5035NO_INLINE void 5033NO_INLINE void
5036flush_stack_call_func (void (*func) (void *arg), void *arg) 5034flush_stack_call_func1 (void (*func) (void *arg), void *arg)
5037{ 5035{
5038 void *end; 5036 void *end;
5039 struct thread_state *self = current_thread; 5037 struct thread_state *self = current_thread;