Author: Armin Rigo <[email protected]>
Branch:
Changeset: r525:698910c9edc3
Date: 2013-09-09 09:46 +0200
http://bitbucket.org/pypy/stmgc/changeset/698910c9edc3/
Log: Skip this assert, after discussion with Remi.
diff --git a/c4/gcpage.c b/c4/gcpage.c
--- a/c4/gcpage.c
+++ b/c4/gcpage.c
@@ -503,7 +503,9 @@
G2L_LOOP_FORWARD(registered_stubs, item) {
gcptr R = item->addr;
assert(R->h_tid & GCFLAG_SMALLSTUB);
- assert(!(R->h_tid & (GCFLAG_VISITED | GCFLAG_MARKED)));
+ /* The following assert can fail if we have a stub pointing to
+ a stub and both are registered_stubs. This case is benign. */
+ //assert(!(R->h_tid & (GCFLAG_VISITED | GCFLAG_MARKED)));
R->h_tid |= (GCFLAG_MARKED | GCFLAG_VISITED);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit