Skip to content

Instantly share code, notes, and snippets.

@samcv

samcv/a.rb Secret

Created March 13, 2018 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samcv/42b9e67a199316656b0ebfc0431dd5a4 to your computer and use it in GitHub Desktop.
Save samcv/42b9e67a199316656b0ebfc0431dd5a4 to your computer and use it in GitHub Desktop.
/* Called by the VM to mark any GCable items. */
static void gc_mark(MVMThreadContext *tc, MVMSTable *st, void *data, MVMGCWorklist *worklist) {
MVMDecoder *decoder = (MVMDecoder*)data;
MVM_gc_worklist_add(tc, worklist, &(decoder->body.ds->replacement));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment