[pypy-commit] pypy virtual-arguments: and another one

fijal noreply at buildbot.pypy.org
Wed Jul 18 20:23:45 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56192:e7015be84ed6
Date: 2012-07-18 20:23 +0200
http://bitbucket.org/pypy/pypy/changeset/e7015be84ed6/

Log:	and another one

diff --git a/pypy/jit/metainterp/resume.py b/pypy/jit/metainterp/resume.py
--- a/pypy/jit/metainterp/resume.py
+++ b/pypy/jit/metainterp/resume.py
@@ -332,6 +332,7 @@
 
         # collect liveboxes and virtuals
         n = len(liveboxes_from_env) - v
+        assert n >= 0
         liveboxes = [None]*n
         self.vfieldboxes = {}
         for box, tagged in liveboxes_from_env.iteritems():


More information about the pypy-commit mailing list