Skip to content

Commit 8b7123b

Browse files
committed
Fix build for WebAssembly
1 parent df30b17 commit 8b7123b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: gc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2370,7 +2370,7 @@ rb_gc_save_machine_context(void)
23702370

23712371

23722372
static void
2373-
mark_current_machine_context(void *objspace, const rb_execution_context_t *ec)
2373+
mark_current_machine_context(const rb_execution_context_t *ec)
23742374
{
23752375
rb_gc_mark_machine_context(ec);
23762376
}
@@ -2495,7 +2495,7 @@ rb_gc_mark_roots(void *objspace, const void *ec, const char **categoryp)
24952495
#endif
24962496

24972497
MARK_CHECKPOINT("machine_context");
2498-
mark_current_machine_context(objspace, ec);
2498+
mark_current_machine_context(ec);
24992499

25002500
MARK_CHECKPOINT("finish");
25012501

0 commit comments

Comments
 (0)