Author: Armin Rigo <ar...@tunes.org> Branch: copy-over-original2 Changeset: r436:e007ec3d53f3 Date: 2013-07-25 17:29 +0200 http://bitbucket.org/pypy/stmgc/changeset/e007ec3d53f3/
Log: Some fixes diff --git a/c4/gcpage.c b/c4/gcpage.c --- a/c4/gcpage.c +++ b/c4/gcpage.c @@ -332,8 +332,10 @@ } else { /* the stub target is just a protected object. - The head of the public chain is obj. */ + The head of the public chain is obj. We have to + explicitly keep obj2 alive. */ assert(!IS_POINTER(obj2->h_revision)); + visit_nonpublic(obj2); break; } } @@ -355,7 +357,7 @@ survived. */ gcptr obj = *pobj; - if (obj == NULL); + if (obj == NULL) return; if (!(obj->h_tid & GCFLAG_PUBLIC)) { _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit