Skip to content

Instantly share code, notes, and snippets.

@timo
Created July 26, 2019 22:55
Show Gist options
  • Save timo/7fb69c74d8ddd072eacb56c6a2c584fc to your computer and use it in GitHub Desktop.
Save timo/7fb69c74d8ddd072eacb56c6a2c584fc to your computer and use it in GitHub Desktop.
diff --git a/src/spesh/plugin.c b/src/spesh/plugin.c
index bd7f7a031..e651081ad 100644
--- a/src/spesh/plugin.c
+++ b/src/spesh/plugin.c
@@ -285,6 +285,7 @@ typedef struct {
static void mark_plugin_sr_data(MVMThreadContext *tc, MVMFrame *frame, MVMGCWorklist *worklist) {
MVMSpeshPluginSpecialReturnData *srd = (MVMSpeshPluginSpecialReturnData *)
frame->extra->special_return_data;
+ MVM_spesh_plugin_guard_list_mark(tc, tc->prev_plugin_guards, tc->prev_num_plugin_guards, worklist);
MVM_gc_worklist_add(tc, worklist, &(srd->sf));
MVM_gc_worklist_add(tc, worklist, &(srd->prev_plugin_guard_args));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment