[pypy-svn] r66874 - pypy/branch/pyjitpl5-floats/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Mon Aug 17 21:01:57 CEST 2009
Author: fijal
Date: Mon Aug 17 21:01:54 2009
New Revision: 66874
Modified:
pypy/branch/pyjitpl5-floats/pypy/jit/metainterp/optimizeopt.py
Log:
Move assert to a correct place
Modified: pypy/branch/pyjitpl5-floats/pypy/jit/metainterp/optimizeopt.py
==============================================================================
--- pypy/branch/pyjitpl5-floats/pypy/jit/metainterp/optimizeopt.py (original)
+++ pypy/branch/pyjitpl5-floats/pypy/jit/metainterp/optimizeopt.py Mon Aug 17 21:01:54 2009
@@ -580,8 +580,8 @@
def optimize_GETFIELD_GC(self, op):
value = self.getvalue(op.args[0])
- assert isinstance(value, AbstractVirtualStructValue)
if value.is_virtual():
+ assert isinstance(value, AbstractVirtualStructValue)
# optimizefindnode should ensure that fieldvalue is found
fieldvalue = value.getfield(op.descr, None)
assert fieldvalue is not None
More information about the Pypy-commit
mailing list