File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2325,16 +2325,16 @@ rb_mark_locations(void *begin, void *end)
2325
2325
rb_stack_range_tmp [1 ] = end ;
2326
2326
}
2327
2327
2328
- # if defined(__EMSCRIPTEN__ )
2329
-
2330
2328
void
2331
2329
rb_gc_save_machine_context (void )
2332
2330
{
2333
2331
// no-op
2334
2332
}
2335
2333
2334
+ # if defined(__EMSCRIPTEN__ )
2335
+
2336
2336
static void
2337
- mark_current_machine_context (rb_execution_context_t * ec )
2337
+ mark_current_machine_context (const rb_execution_context_t * ec )
2338
2338
{
2339
2339
emscripten_scan_stack (rb_mark_locations );
2340
2340
each_location_ptr (rb_stack_range_tmp [0 ], rb_stack_range_tmp [1 ], gc_mark_maybe_each_location , NULL );
@@ -2345,7 +2345,7 @@ mark_current_machine_context(rb_execution_context_t *ec)
2345
2345
# else // use Asyncify version
2346
2346
2347
2347
static void
2348
- mark_current_machine_context (rb_execution_context_t * ec )
2348
+ mark_current_machine_context (const rb_execution_context_t * ec )
2349
2349
{
2350
2350
VALUE * stack_start , * stack_end ;
2351
2351
SET_STACK_END ;
You can’t perform that action at this time.
0 commit comments