[pypy-commit] pypy stmgc-c7: fix
arigo
noreply at buildbot.pypy.org
Wed Nov 19 11:16:03 CET 2014
Author: Armin Rigo <arigo at tunes.org>
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)
More information about the pypy-commit
mailing list