[pypy-svn] pypy jitypes2: fix translation
antocuni
commits-noreply at bitbucket.org
Wed Jan 5 11:21:27 CET 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r40407:460af449d1de
Date: 2011-01-05 11:23 +0100
http://bitbucket.org/pypy/pypy/changeset/460af449d1de/
Log: fix translation
diff --git a/pypy/module/_ffi/interp_ffi.py b/pypy/module/_ffi/interp_ffi.py
--- a/pypy/module/_ffi/interp_ffi.py
+++ b/pypy/module/_ffi/interp_ffi.py
@@ -133,6 +133,7 @@
floatres = self.func.call(argchain, rffi.FLOAT)
return space.wrap(floatres)
elif reskind == 'I' or reskind == 'U':
+ assert libffi.IS_32_BIT
return self._call_longlong(space, argchain, reskind)
elif reskind == 'S':
# we return the address of the buffer as an integer
More information about the Pypy-commit
mailing list