Author: Armin Rigo <[email protected]>
Branch: stmgc-c7-rewindjmp
Changeset: r72875:2eafe08987ef
Date: 2014-08-18 13:52 +0200
http://bitbucket.org/pypy/pypy/changeset/2eafe08987ef/
Log: Fix
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
@@ -904,6 +904,7 @@
mc.MOV_rs(ebx.value, STM_SHADOWSTACK_BASE_OFS)
# MOV ebx, [esp+ssbase]
mc.MOV_rs(r11.value, STM_PREV_OFS) # MOV r11, [esp+prev]
+ mc.SUB_ri(ebx.value, 1) # SUB ebx, 1
mc.MOV(self.heap_shadowstack_top(), ebx) # MOV [rootstacktop], ebx
mc.LEA_rs(ebx.value, STM_JMPBUF_OFS) # LEA ebx, [esp+bufofs]
mc.MOV(rjh, r11) # MOV [rjthread.head],
r11
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit