Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r415:7e7b074f25af
Date: 2013-07-19 10:20 +0200
http://bitbucket.org/pypy/stmgc/changeset/7e7b074f25af/

Log:    Avoid doing changes in this debug-only function

diff --git a/c4/nursery.c b/c4/nursery.c
--- a/c4/nursery.c
+++ b/c4/nursery.c
@@ -545,10 +545,15 @@
                d->num_read_objects_known_old);
         assert(gcptrlist_size(&d->private_from_protected) >=
                d->num_private_from_protected_known_old);
+#if 0
+        /* we could here force the following, but there is little point
+           and it's a bad idea to do things in this function that is
+           compiled only in debug mode */
         d->num_read_objects_known_old =
             gcptrlist_size(&d->list_of_read_objects);
         d->num_private_from_protected_known_old =
             gcptrlist_size(&d->private_from_protected);
+#endif
         return 0;
     }
     else {
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to