summaryrefslogtreecommitdiff
path: root/coroutine.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-22 02:52:21 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-22 02:52:21 -0600
commite2a29828cdd5c68f70ee771bb9f73c4b03c59529 (patch)
tree2f099d58239fec5730e5e00f9c75f16d4350833e /coroutine.c
parent8ae41297e21c96793ab1f2c8d1abcc5f274501e2 (diff)
drop no_slit_stack, use rely on -fno-split-stack
Diffstat (limited to 'coroutine.c')
-rw-r--r--coroutine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine.c b/coroutine.c
index 97d5be6..2c265a3 100644
--- a/coroutine.c
+++ b/coroutine.c
@@ -326,7 +326,7 @@ bool cr_begin(void) {
longjmp(coroutine_add_env, 1); /* jump to point=a */
}
-static inline __attribute__ ((no_split_stack)) void _cr_transition(enum coroutine_state state) {
+static inline void _cr_transition(enum coroutine_state state) {
assert_cid_state(coroutine_running, == CR_RUNNING);
debugf("cid=%zu: transition %i->%i\n", coroutine_running, coroutine_table[coroutine_running-1].state, state);