Author: Remi Meier <remi.me...@gmail.com> Branch: Changeset: r539:d92fcb9e5246 Date: 2013-10-23 22:00 +0200 http://bitbucket.org/pypy/stmgc/changeset/d92fcb9e5246/
Log: fix wrong assert diff --git a/c4/steal.c b/c4/steal.c --- a/c4/steal.c +++ b/c4/steal.c @@ -137,7 +137,8 @@ assert(IMPLIES(!(L->h_tid & GCFLAG_OLD), L->h_original)); assert(IMPLIES(L->h_tid & GCFLAG_OLD, (B->h_original == (revision_t)L) - || (B->h_original == L->h_original))); + || (B->h_original == L->h_original) + || (L->h_original == (revision_t)B))); if (!L->h_original && L->h_tid & GCFLAG_OLD) { /* If old, L must be the original */ B->h_original = (revision_t)L; _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit