diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-01-16 20:11:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-01-16 22:22:43 +0900 |
commit | 5df20ab0b49b55c9cf858879f3e6e30cc3dcd803 (patch) | |
tree | 637537b5c753930b017cb831135b679e928ee1bc | |
parent | fe03cc22e6b7e213ff349ce1237fffbf1a9bfbe0 (diff) |
Un-constify `mark_current_machine_context` on wasm
As `SET_STACK_END` updates `ec->machine.stack_end`, it cannot be
const.
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |