Author: Richard Plangger <planri...@gmail.com> Branch: s390x-backend Changeset: r82141:5bae6a642fe5 Date: 2016-02-10 13:02 +0100 http://bitbucket.org/pypy/pypy/changeset/5bae6a642fe5/
Log: putting thread local to the right position (after moving the whole frame down) diff --git a/rpython/jit/backend/zarch/assembler.py b/rpython/jit/backend/zarch/assembler.py --- a/rpython/jit/backend/zarch/assembler.py +++ b/rpython/jit/backend/zarch/assembler.py @@ -1022,7 +1022,7 @@ self.mc.STD_rx(reg, l.addr(off + i*8, r.SP)) # save r3, the second argument, to the thread local position - self.mc.STG(r.r3, l.addr(THREADLOCAL_ON_ENTER_JIT, r.SP)) + self.mc.STG(r.r3, l.addr(-fpoff+THREADLOCAL_ON_ENTER_JIT, r.SP)) # push a standard frame for any within the jit trace self.mc.push_std_frame(fpoff) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit