[pypy-commit] pypy jit-counter: More of the same

arigo noreply at buildbot.pypy.org
Thu Oct 31 14:58:40 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-counter
Changeset: r67783:17d7a1ae1a69
Date: 2013-10-31 14:52 +0100
http://bitbucket.org/pypy/pypy/changeset/17d7a1ae1a69/

Log:	More of the same

diff --git a/rpython/jit/metainterp/warmstate.py b/rpython/jit/metainterp/warmstate.py
--- a/rpython/jit/metainterp/warmstate.py
+++ b/rpython/jit/metainterp/warmstate.py
@@ -459,6 +459,7 @@
                     if (isinstance(cell, JitCell) and
                             cell.comparekey(*greenargs)):
                         return cell
+                    cell = cell.next
                 return None
 
             @staticmethod
@@ -475,6 +476,7 @@
                     if (isinstance(cell, JitCell) and
                             cell.comparekey(*greenargs)):
                         return cell
+                    cell = cell.next
                 newcell = JitCell(*greenargs)
                 jitcounter.install_new_cell(index, newcell)
                 return newcell


More information about the pypy-commit mailing list