Author: Maciej Fijalkowski <fij...@gmail.com> Branch: jitframe-on-heap Changeset: r61488:cfe720378860 Date: 2013-02-20 11:42 +0200 http://bitbucket.org/pypy/pypy/changeset/cfe720378860/
Log: fix, thanks armin diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.py +++ b/rpython/jit/backend/x86/assembler.py @@ -338,8 +338,8 @@ else: mc.MOV_rr(edi.value, ebp.value) exc0, exc1 = ebx, r12 - mc.MOV(RawStackLoc(WORD * 5), exc0) - mc.MOV(RawStackLoc(WORD * 6), exc1) + mc.MOV(RawEspLoc(WORD * 5), exc0) + mc.MOV(RawEspLoc(WORD * 6), exc1) # note that it's save to store the exception in register, # since the call to write barrier can't collect # (and this is assumed a bit left and right here, like lack @@ -372,8 +372,8 @@ mc.MOVSD_xs(xmm0.value, 3 * WORD) mc.MOV_rs(eax.value, WORD) # restore self._restore_exception(mc, exc0, exc1) - mc.MOV(exc0, RawStackLoc(WORD * 5)) - mc.MOV(exc1, RawStackLoc(WORD * 6)) + mc.MOV(exc0, RawEspLoc(WORD * 5)) + mc.MOV(exc1, RawEspLoc(WORD * 6)) mc.LEA_rs(esp.value, 10 * WORD) mc.RET() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit