Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r60404:111a1351fe47
Date: 2013-01-23 23:32 +0200
http://bitbucket.org/pypy/pypy/changeset/111a1351fe47/

Log:    I think I convinced myself this is enough

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
@@ -900,8 +900,9 @@
         oldadr = oldlooptoken._x86_function_addr
         target = newlooptoken._x86_function_addr
         # copy frame-info data
+        old_fi = oldlooptoken.compiled_loop_token.frame_info
         new_fi = newlooptoken.compiled_loop_token.frame_info
-        oldlooptoken.compiled_loop_token.frame_info = new_fi
+        old_fi.jfi_frame_depth = new_fi.jfi_frame_depth
         mc = codebuf.MachineCodeBlockWrapper()
         mc.JMP(imm(target))
         if WORD == 4:         # keep in sync with prepare_loop()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to