[pypy-commit] pypy stmgc-c7: next fix

arigo noreply at buildbot.pypy.org
Wed Jan 28 17:58:37 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r75569:b5eea6414a88
Date: 2015-01-28 17:44 +0100
http://bitbucket.org/pypy/pypy/changeset/b5eea6414a88/

Log:	next fix

diff --git a/rpython/jit/metainterp/memmgr.py b/rpython/jit/metainterp/memmgr.py
--- a/rpython/jit/metainterp/memmgr.py
+++ b/rpython/jit/metainterp/memmgr.py
@@ -119,7 +119,7 @@
                     oldtotal += 1
                     looptoken = annlowlevel.cast_gcref_to_instance(JitCellToken,
                                                                    gcref)
-                    if self._must_keep_loop(looptoken):
+                    if self._must_keep_loop(looptoken, max_generation):
                         keep_loops[looptoken] = None
             newtotal = len(keep_loops)
             #


More information about the pypy-commit mailing list