Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
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}