add xlen/xcapa member to pic_senv

This commit is contained in:
Yuichi Nishiwaki
2013-11-26 08:36:58 -08:00
parent a32473ae92
commit f6bc51d16d
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ gc_mark_object(pic_state *pic, struct pic_object *obj)
if (senv->stx) {
int i;
for (i = 0; i < 6; ++i) {
for (i = 0; i < senv->xlen; ++i) {
gc_mark_object(pic, (struct pic_object *)senv->stx[i]);
}
}