[pypy-svn] r64503 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Tue Apr 21 13:06:54 CEST 2009


Author: arigo
Date: Tue Apr 21 13:06:53 2009
New Revision: 64503

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py
Log:
.TO -> deref()


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/codewriter.py	Tue Apr 21 13:06:53 2009
@@ -680,7 +680,7 @@
 
     def is_typeptr_getset(self, op):
         return (op.args[1].value == 'typeptr' and
-                op.args[0].concretetype.TO._hints.get('typeptr'))
+                deref(op.args[0].concretetype)._hints.get('typeptr'))
 
     def handle_getfield_typeptr(self, op):
         # special-casing for getting the typeptr of an object



More information about the Pypy-commit mailing list