Skip to content

Commit 78b6c57

Browse files
authored
Remove last traces of JL_HAVE_ASYNCIFY (#54569)
It was removed in PR #53250 but this bit stayed by accident.
1 parent a60f22e commit 78b6c57

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/task.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,23 +1564,6 @@ static void jl_set_fiber(jl_ucontext_t *t)
15641564
}
15651565
#endif
15661566

1567-
#if defined(JL_HAVE_ASYNCIFY)
1568-
#if defined(_COMPILER_TSAN_ENABLED_)
1569-
#error TSAN support not currently implemented for this tasking model
1570-
#endif
1571-
1572-
static char *jl_alloc_fiber(_jl_ucontext_t *t, size_t *ssize, jl_task_t *owner) JL_NOTSAFEPOINT
1573-
{
1574-
void *stk = jl_malloc_stack(ssize, owner);
1575-
if (stk == NULL)
1576-
return NULL;
1577-
t->stackbottom = stk;
1578-
t->stacktop = ((char*)stk) + *ssize;
1579-
return (char*)stk;
1580-
}
1581-
// jl_*_fiber implemented in js
1582-
#endif
1583-
15841567
// Initialize a root task using the given stack.
15851568
jl_task_t *jl_init_root_task(jl_ptls_t ptls, void *stack_lo, void *stack_hi)
15861569
{

0 commit comments

Comments
 (0)