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

fijal at codespeak.net fijal at codespeak.net
Thu Mar 12 12:17:57 CET 2009


Author: fijal
Date: Thu Mar 12 12:17:55 2009
New Revision: 62877

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
Log:
a port from pyjitpl5-bck branch


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	Thu Mar 12 12:17:55 2009
@@ -439,7 +439,7 @@
         elif size == WORD:
             a = rffi.cast(rffi.CArrayPtr(lltype.Signed), gcref)
             if not ptr:
-                a[ofs/WORD + field] = args[2].getint()
+                a[ofs/WORD + field] = int(args[2].getint())
             else:
                 p = args[2].getptr(llmemory.GCREF)
                 a[ofs/WORD + field] = self.cast_gcref_to_int(p)



More information about the Pypy-commit mailing list