[pypy-commit] pypy default: Add an assert that seems to fail in issue1619

arigo noreply at buildbot.pypy.org
Sun Oct 6 10:46:43 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r67162:7e05f0998a32
Date: 2013-10-06 10:45 +0200
http://bitbucket.org/pypy/pypy/changeset/7e05f0998a32/

Log:	Add an assert that seems to fail in issue1619

diff --git a/rpython/jit/metainterp/resume.py b/rpython/jit/metainterp/resume.py
--- a/rpython/jit/metainterp/resume.py
+++ b/rpython/jit/metainterp/resume.py
@@ -783,6 +783,7 @@
         v = self.virtuals_cache.get_int(index)
         if not v:
             v = self.rd_virtuals[index]
+            ll_assert(bool(v), "resume.py: null rd_virtuals[index]")
             assert v.is_about_raw and isinstance(v, VRawBufferStateInfo)
             v = v.allocate_int(self, index)
             ll_assert(v == self.virtuals_cache.get_int(index), "resume.py: bad cache")


More information about the pypy-commit mailing list