[pypy-svn] r65595 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Thu Jun 4 23:29:11 CEST 2009


Author: fijal
Date: Thu Jun  4 23:29:10 2009
New Revision: 65595

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/virtualizable.py
Log:
oops oops oops. catch also fields that are on super


Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/virtualizable.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/virtualizable.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/virtualizable.py	Thu Jun  4 23:29:10 2009
@@ -35,7 +35,7 @@
             else:
                 break
         return [cpu.fielddescrof(S, name) for name in lst if
-                name.startswith('inst_') and hasattr(S, name)]
+                name.startswith('inst_')]
 
     def catch_all_fields_ootype(self, cpu, S):
         lst = S._allfields().keys()



More information about the Pypy-commit mailing list