Ruby 3.4.1p0 (2024-12-25 revision 48d4efcb85000e1ebae42004e963b5d0cedddcf2)
Context.c
1#include "Context.h"
2
3void coroutine_trampoline(void * _start, void * _context)
4{
5 coroutine_start start = (coroutine_start)_start;
6 struct coroutine_context * context = _context;
7 rb_wasm_set_stack_pointer(context->current_sp);
8
9 start(context->from, context);
10}