[pypy-commit] pypy unroll-if-alt: fix translation
alex_gaynor
noreply at buildbot.pypy.org
Tue Sep 20 21:37:50 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: unroll-if-alt
Changeset: r47376:f5fd6aac22b8
Date: 2011-09-20 15:37 -0400
http://bitbucket.org/pypy/pypy/changeset/f5fd6aac22b8/
Log: fix translation
diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py
--- a/pypy/jit/metainterp/heapcache.py
+++ b/pypy/jit/metainterp/heapcache.py
@@ -54,8 +54,9 @@
if box in self.new_boxes:
self.new_boxes[box] = False
if box in self.dependencies:
- for dep in self.dependencies.pop(box):
+ for dep in self.dependencies[box]:
self._escape(dep)
+ del self.dependencies[box]
def clear_caches(self, opnum, descr, argboxes):
if opnum == rop.SETFIELD_GC:
More information about the pypy-commit
mailing list