[pypy-svn] r62820 - pypy/branch/pyjitpl5/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Tue Mar 10 17:55:42 CET 2009
Author: fijal
Date: Tue Mar 10 17:55:42 2009
New Revision: 62820
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
Log:
cast arg to int...
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 Tue Mar 10 17:55:42 2009
@@ -457,7 +457,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