Author: fijal
Branch: vmprof-newstack
Changeset: r82073:c2e205bfae0d
Date: 2016-02-04 17:29 +0100
http://bitbucket.org/pypy/pypy/changeset/c2e205bfae0d/
Log: a bit of shotgun debugging on asmgcc
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
@@ -872,6 +872,7 @@
from rpython.rlib.rvmprof.rvmprof import cintf
# edx = address of pypy_threadlocal_s
self.mc.MOV_rs(edx.value, THREADLOCAL_OFS)
+ self.mc.AND_ri(edx.value, ~1)
# eax = (our local vmprof_tl_stack).next
self.mc.MOV_rs(eax.value, (FRAME_FIXED_SIZE - 4 + 0) * WORD)
# save in vmprof_tl_stack the value eax
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit