Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r96:1c52e9c6610d
Date: 2013-06-12 11:27 +0200
http://bitbucket.org/pypy/stmgc/changeset/1c52e9c6610d/

Log:    Fix: wrong label

diff --git a/c4/et.c b/c4/et.c
--- a/c4/et.c
+++ b/c4/et.c
@@ -98,6 +98,7 @@
          along this chain.
       */
     restart_all_public:
+      assert(P->h_tid & GCFLAG_PUBLIC);
       v = ACCESS_ONCE(P->h_revision);
       if (!(v & 1))  // "is a pointer", i.e.
         {            //      "has a more recent revision"
@@ -172,10 +173,10 @@
           if (v >= LOCKED)
             {
               SpinLoop(SPLP_LOCKED_INFLIGHT);
-              goto retry;           // spinloop until it is no longer LOCKED
+              goto restart_all_public; // spinloop until it is no longer LOCKED
             }
           ValidateNow(d);                  // try to move start_time forward
-          goto retry;                      // restart searching from P
+          goto restart_all_public;         // restart searching from P
         }
       fprintf(stderr, "read_barrier: %p -> %p public\n", G, P);
     }
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to