Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r62239:b80e318576e5
Date: 2013-03-08 17:35 +0200
http://bitbucket.org/pypy/pypy/changeset/b80e318576e5/

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

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
@@ -160,9 +160,9 @@
         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)
 
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to