Skip to content

Commit

Permalink
root when allocating
Browse files Browse the repository at this point in the history
  • Loading branch information
diakopter committed Aug 6, 2018
1 parent aa49992 commit d3b11dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/spesh/frame_walker.c
Expand Up @@ -326,7 +326,10 @@ MVMObject * MVM_spesh_frame_walker_get_lexicals_hash(MVMThreadContext *tc, MVMSp
MVMStaticFrame *sf;
MVMuint32 base_index;
MVMHLLConfig *hll = MVM_hll_current(tc);
MVMObject *ctx_hash = MVM_repr_alloc_init(tc, hll->slurpy_hash_type);
MVMObject *ctx_hash;
MVMROOT2(tc, frame, sf, {
ctx_hash = MVM_repr_alloc_init(tc, hll->slurpy_hash_type);
});
find_lex_info(tc, fw, &frame, &sf, &base_index);
MVMROOT3(tc, ctx_hash, frame, sf, {
MVMuint32 i;
Expand Down

0 comments on commit d3b11dd

Please sign in to comment.