[pypy-commit] stmgc default: fix bug in demo_random.c

Raemi noreply at buildbot.pypy.org
Thu Nov 21 16:05:09 CET 2013


Author: Remi Meier <remi.meier at gmail.com>
Branch: 
Changeset: r554:b820cff55e7a
Date: 2013-11-21 16:04 +0100
http://bitbucket.org/pypy/stmgc/changeset/b820cff55e7a/

Log:	fix bug in demo_random.c

diff --git a/c4/demo_random.c b/c4/demo_random.c
--- a/c4/demo_random.c
+++ b/c4/demo_random.c
@@ -566,6 +566,7 @@
                 check((gcptr)ww->node);
             }
             else {
+                t = (nodeptr)write_barrier(ptrs[i]);
                 t->weakref = NULL;
             }
         }


More information about the pypy-commit mailing list