Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r74594:66bca6f88d3e
Date: 2014-11-19 11:15 +0100
http://bitbucket.org/pypy/pypy/changeset/66bca6f88d3e/

Log:    fix

diff --git a/rpython/rtyper/lltypesystem/rffi.py 
b/rpython/rtyper/lltypesystem/rffi.py
--- a/rpython/rtyper/lltypesystem/rffi.py
+++ b/rpython/rtyper/lltypesystem/rffi.py
@@ -836,6 +836,7 @@
         # following code is executed if:
         # - rgc.can_move(data) and rgc.pin(data) both returned true
         # - rgc.can_move(data) returned false
+        assert not rgc.stm_is_enabled()
         data_start = cast_ptr_to_adr(lldata) + \
             offsetof(STRTYPE, 'chars') + itemoffsetof(STRTYPE.chars, 0)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to