Commits

Maciej Fijalkowski committed b80e318

we want to reset jf_guard_exc on the new frame, not on the old one

Comments (0)

Files changed (1)

rpython/jit/backend/x86/assembler.py

         self._store_and_reset_exception(mc, None, ebx, ecx)
 
         mc.CALL(imm(self.cpu.realloc_frame))
+        mc.MOV_rr(ebp.value, eax.value)
         self._restore_exception(mc, None, ebx, ecx)
         mc.ADD_ri(esp.value, (align - 1) * WORD)
-        mc.MOV_rr(ebp.value, eax.value)
         mc.MOV_bi(extra_ofs, 0)