Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created August 29, 2014 17:27
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 jnthn/a874b51f963049ae794c to your computer and use it in GitHub Desktop.
Save jnthn/a874b51f963049ae794c to your computer and use it in GitHub Desktop.
diff --git a/src/core/frame.c b/src/core/frame.c
index 6328058..cf75b48 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -274,6 +274,7 @@ static MVMFrame * allocate_frame(MVMThreadContext *tc, MVMStaticFrameBody *stati
frame->return_address = NULL;
frame->dynlex_cache_name = NULL;
frame->jit_entry_label = NULL;
+ frame->spesh_cand = NULL;
return frame;
}
@@ -291,6 +292,7 @@ static MVMFrame * allocate_frame(MVMThreadContext *tc, MVMStaticFrameBody *stati
frame->dynlex_cache_name = NULL;
frame->return_address = NULL;
frame->jit_entry_label = NULL;
+ frame->spesh_cand = NULL;
/* Allocate space for lexicals and work area, copying the default lexical
* environment into place. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment