[pypy-commit] pypy s390x-backend: call int should provide rffi.INT instead of rffi.SIGNED, this works on little endian, but not big
plan_rich
pypy.commits at gmail.com
Fri Feb 5 14:47:05 EST 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r82094:ca18f251c6bf
Date: 2016-02-05 20:46 +0100
http://bitbucket.org/pypy/pypy/changeset/ca18f251c6bf/
Log: call int should provide rffi.INT instead of rffi.SIGNED, this works
on little endian, but not big
diff --git a/rpython/jit/backend/zarch/pool.py b/rpython/jit/backend/zarch/pool.py
--- a/rpython/jit/backend/zarch/pool.py
+++ b/rpython/jit/backend/zarch/pool.py
@@ -47,7 +47,6 @@
descr = op.getdescr()
if descr not in asm.target_tokens_currently_compiling:
# this is a 'long' jump instead of a relative jump
- # TODO why no reserve literal? self.offset_map[descr] = self.size
self.offset_descr[descr] = self.size
self.allocate_slot(8)
elif op.getopnum() == rop.INT_INVERT:
diff --git a/rpython/rlib/libffi.py b/rpython/rlib/libffi.py
--- a/rpython/rlib/libffi.py
+++ b/rpython/rlib/libffi.py
@@ -326,7 +326,7 @@
#@jit.oopspec('libffi_call_int(self, funcsym, ll_args)')
@jit.dont_look_inside
def _do_call_int(self, funcsym, ll_args):
- return self._do_call(funcsym, ll_args, rffi.SIGNED)
+ return self._do_call(funcsym, ll_args, rffi.INT)
#@jit.oopspec('libffi_call_float(self, funcsym, ll_args)')
@jit.dont_look_inside
More information about the pypy-commit
mailing list