Un-constify mark_current_machine_context
on wasm
As `SET_STACK_END` updates `ec->machine.stack_end`, it cannot be const.
This commit is contained in:
parent
fe03cc22e6
commit
5df20ab0b4
2
gc.c
2
gc.c
@ -2485,7 +2485,7 @@ mark_current_machine_context(const rb_execution_context_t *ec)
|
||||
# else // use Asyncify version
|
||||
|
||||
static void
|
||||
mark_current_machine_context(const rb_execution_context_t *ec)
|
||||
mark_current_machine_context(rb_execution_context_t *ec)
|
||||
{
|
||||
VALUE *stack_start, *stack_end;
|
||||
SET_STACK_END;
|
||||
|
Loading…
x
Reference in New Issue
Block a user