Author: Remi Meier <remi.me...@gmail.com> Branch: copy-over-original2 Changeset: r402:a127a39f6967 Date: 2013-07-16 14:29 +0200 http://bitbucket.org/pypy/stmgc/changeset/a127a39f6967/
Log: update comment diff --git a/c4/gcpage.c b/c4/gcpage.c --- a/c4/gcpage.c +++ b/c4/gcpage.c @@ -637,6 +637,7 @@ assert(!(obj->h_tid & GCFLAG_STUB)); if (!(obj->h_tid & GCFLAG_OLD)) { + assert(!(obj->h_tid & GCFLAG_PRIVATE_FROM_PROTECTED)); obj = (gcptr)obj->h_revision; items[i] = obj; } @@ -650,9 +651,7 @@ assert(IS_POINTER(obj->h_revision)); obj = (gcptr)obj->h_revision; - /* backup copies will never be candidates for copy over - prebuilts, because there is always the priv-from-prot - object inbetween */ + /* the backup-ptr should already be updated: */ assert(obj->h_tid & GCFLAG_OLD); } _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit