[pypy-svn] r64758 - pypy/branch/pyjitpl5/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Tue Apr 28 12:44:40 CEST 2009


Author: arigo
Date: Tue Apr 28 12:44:39 2009
New Revision: 64758

Modified:
   pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/rdict.py
Log:
Add an assert in rdict.py.


Modified: pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/rdict.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/rdict.py	(original)
+++ pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/rdict.py	Tue Apr 28 12:44:39 2009
@@ -789,6 +789,7 @@
                     items[p] = recast(ELEM, entry.value)
             p += 1
         i += 1
+    assert p == res.ll_length()
     return res
 ll_kvi.oopspec = 'newdictkvi(dic, func)'
 



More information about the Pypy-commit mailing list