Commits

Maciej Fijalkowski committed cfe7203

fix, thanks armin

  • Participants
  • Parent commits f1af420
  • Branches jitframe-on-heap

Comments (0)

Files changed (1)

rpython/jit/backend/x86/assembler.py

             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
             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()