Skip to content
Permalink
Browse files

Do not GC frames of unbound words

For routine!, the arguments don't have a frame
  • Loading branch information...
zsx committed Jul 27, 2015
1 parent 3fa82bb commit 11ab4723a1684c4cd36e4cc049dbb8eb17c6c4fe
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/m-gc.c
@@ -378,7 +378,7 @@ static void Mark_Value(REBVAL *val, REBCNT depth);
if (VAL_GET_OPT(val, OPTS_UNWORD)) break;

ser = VAL_WORD_FRAME(val);
if (ser) {
if (VAL_WORD_INDEX(val) != WORD_INDEX_UNBOUND && ser) {
// Word is bound, so mark its context (which may be a FRAME!
// series or an identifying function word series). All
// bound words should keep their contexts from being GC'd...

0 comments on commit 11ab472

Please sign in to comment.
You can’t perform that action at this time.