[pypy-commit] pypy gc-minimark-pinning: of course, put the return there

fijal noreply at buildbot.pypy.org
Fri Apr 13 17:04:33 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: gc-minimark-pinning
Changeset: r54336:dd9a443b9106
Date: 2012-04-13 16:53 +0200
http://bitbucket.org/pypy/pypy/changeset/dd9a443b9106/

Log:	of course, put the return there

diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py
--- a/pypy/rpython/memory/gc/minimark.py
+++ b/pypy/rpython/memory/gc/minimark.py
@@ -600,7 +600,7 @@
                 llarena.arena_reserve(self.nursery_free, totalsize)
                 res = self.nursery_free
                 self.nursery_free = res + totalsize
-            XXX   # it's missing a 'return' somewhere think
+                return res
         self.minor_collection(totalsize)
         # try allocating now, otherwise we do a major collect
         do_major_collect = False


More information about the pypy-commit mailing list