Skip to content

Commit

Permalink
Fix build for WebAssembly
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Sep 10, 2024
1 parent df30b17 commit 8b7123b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2370,7 +2370,7 @@ rb_gc_save_machine_context(void)


static void
mark_current_machine_context(void *objspace, const rb_execution_context_t *ec)
mark_current_machine_context(const rb_execution_context_t *ec)
{
rb_gc_mark_machine_context(ec);
}
Expand Down Expand Up @@ -2495,7 +2495,7 @@ rb_gc_mark_roots(void *objspace, const void *ec, const char **categoryp)
#endif

MARK_CHECKPOINT("machine_context");
mark_current_machine_context(objspace, ec);
mark_current_machine_context(ec);

MARK_CHECKPOINT("finish");

Expand Down

0 comments on commit 8b7123b

Please sign in to comment.