File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ static zend_always_inline zend_vm_stack zend_fiber_vm_stack_alloc(size_t size) /
334
334
}
335
335
/* }}} */
336
336
337
- static void zend_fiber_execute (zend_fiber_context * context ) /* {{{ */
337
+ static void ZEND_STACK_ALIGNED zend_fiber_execute (zend_fiber_context * context ) /* {{{ */
338
338
{
339
339
zend_fiber * fiber = EG (current_fiber );
340
340
ZEND_ASSERT (fiber );
Original file line number Diff line number Diff line change @@ -281,6 +281,12 @@ char *alloca();
281
281
# define ZEND_NORETURN
282
282
#endif
283
283
284
+ #if __has_attribute(force_align_arg_pointer)
285
+ # define ZEND_STACK_ALIGNED __attribute__ ((force_align_arg_pointer))
286
+ #else
287
+ # define ZEND_STACK_ALIGNED
288
+ #endif
289
+
284
290
#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__))
285
291
# define HAVE_NORETURN_ALIAS
286
292
# define HAVE_ATTRIBUTE_WEAK
You can’t perform that action at this time.
0 commit comments