[pypy-commit] pypy gc-incminimark-pinning: fix code for the case of no pinned objects

groggi noreply at buildbot.pypy.org
Thu Aug 14 19:05:25 CEST 2014


Author: Gregor Wegberg <code at gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r72813:4eed5d00ac19
Date: 2014-08-14 19:04 +0200
http://bitbucket.org/pypy/pypy/changeset/4eed5d00ac19/

Log:	fix code for the case of no pinned objects

diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py
--- a/rpython/jit/backend/llsupport/gc.py
+++ b/rpython/jit/backend/llsupport/gc.py
@@ -182,7 +182,10 @@
                     newnewops.extend(reops)
                 else:
                     newnewops.append(op)
-        return newnewops
+            #
+            return newnewops
+        else:
+            return newops
 
     @specialize.memo()
     def getframedescrs(self, cpu):


More information about the pypy-commit mailing list