[pypy-svn] r65177 - pypy/branch/pyjitpl5/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Sat May 9 03:58:17 CEST 2009


Author: fijal
Date: Sat May  9 03:58:16 2009
New Revision: 65177

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
Log:
typo


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py	Sat May  9 03:58:16 2009
@@ -629,7 +629,7 @@
     def fielddescrof(self, S, fieldname):
         ofs, size = symbolic.get_field_token(S, fieldname,
                                              self.translate_support_code)
-        assert rffi.sizeof(lltype.typeOf(getattr(S, fieldname))) in [1, 2, WORD]
+        assert rffi.sizeof(getattr(S, fieldname)) in [1, 2, WORD]
         if (isinstance(getattr(S, fieldname), lltype.Ptr) and
             getattr(S, fieldname).TO._gckind == 'gc'):
             ptr = True



More information about the Pypy-commit mailing list