[gc] bugfix: do not mark a value out of the stack range

This commit is contained in:
Yuichi Nishiwaki
2013-10-16 09:28:13 +09:00
parent 136977f357
commit 04896bcd93
-1
View File
@@ -164,7 +164,6 @@ gc_mark_phase(pic_state *pic)
for (stack = pic->stbase; stack != pic->sp; ++stack) {
gc_mark(pic, *stack);
}
gc_mark(pic, *stack);
/* arena */
for (i = 0; i < pic->arena_idx; ++i) {