Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r75990:3b0f155eaa42
Date: 2015-02-19 01:21 +0100
http://bitbucket.org/pypy/pypy/changeset/3b0f155eaa42/

Log:    probable translation 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
@@ -1983,8 +1983,6 @@
         p.fail_descr = fail_descr
         p.jump_target = target
         p.gcmap = guardtok.gcmap
-        # xxx this code is only translated, so the following check is
-        # good enough to say "nobody stored _x86_stm_guard_failure yet"
         assert not guardtok.faildescr._x86_stm_guard_failure
         guardtok.faildescr._x86_stm_guard_failure = p
         addr = rffi.cast(lltype.Signed, p)
@@ -2922,3 +2920,4 @@
     ("fail_descr", lltype.Signed),
     ("jump_target", lltype.Signed),
     ("gcmap", lltype.Ptr(jitframe.GCMAP)))
+AbstractFailDescr._x86_stm_guard_failure = lltype.nullptr(STM_GUARD_FAILURE)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to