[pypy-svn] r63624 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Sat Apr 4 20:09:14 CEST 2009
Author: fijal
Date: Sat Apr 4 20:09:12 2009
New Revision: 63624
Modified:
pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/history.py
Log:
check also at runtime, just because
Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/history.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/history.py (original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/history.py Sat Apr 4 20:09:12 2009
@@ -524,6 +524,8 @@
"""Check that 'x' is None or an instance of AbstractDescr.
Explodes if the annotator only thinks it is an instance of AbstractValue.
"""
+ if x is not None:
+ assert isinstance(x, AbstractDescr)
class Entry(ExtRegistryEntry):
_about_ = check_descr
More information about the Pypy-commit
mailing list