Author: Armin Rigo <[email protected]>
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")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to