Skip to content

Commit

Permalink
Fix another missing GC root
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Aug 18, 2018
1 parent 3ae8df1 commit 54bc9ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interpreter.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ SECT_INTERP static jl_value_t *eval_value(jl_value_t *e, interpreter_state *s)
if (jl_is_pinode(e)) {
jl_value_t *val = eval_value(jl_fieldref_noalloc(e, 0), s);
#ifndef JL_NDEBUG
JL_GC_PUSH1(&val);
jl_typeassert(val, jl_fieldref_noalloc(e, 1));
JL_GC_POP();
#endif
return val;
}
Expand Down

0 comments on commit 54bc9ee

Please sign in to comment.