Commits

Armin Rigo committed 17d7a1a

More of the same

Comments (0)

Files changed (1)

rpython/jit/metainterp/warmstate.py

                     if (isinstance(cell, JitCell) and
                             cell.comparekey(*greenargs)):
                         return cell
+                    cell = cell.next
                 return None
 
             @staticmethod
                     if (isinstance(cell, JitCell) and
                             cell.comparekey(*greenargs)):
                         return cell
+                    cell = cell.next
                 newcell = JitCell(*greenargs)
                 jitcounter.install_new_cell(index, newcell)
                 return newcell