Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r70256:5a1c619c20f6
Date: 2014-03-24 16:17 +0100
http://bitbucket.org/pypy/pypy/changeset/5a1c619c20f6/

Log:    Bah, loading the address of the string "return from JITted function"
        is better than getting an address out of the 8 bytes "return f"

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
@@ -817,7 +817,7 @@
             jne_location = mc.get_relative_pos()
             #
             # if they are equal, we need to become inevitable now
-            mc.MOV_rj(edi.value, (self.SEGMENT_NO, rstm.adr_jit_default_msg))
+            mc.MOV_ri(edi.value, rstm.adr_jit_default_msg)
             mc.CALL(imm(rstm.adr__stm_become_inevitable))
             # there could have been a collection in _stm_become_inevitable;
             # reload the frame into ebp
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to