Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r74601:9a74415a5e88
Date: 2014-11-19 13:15 +0100
http://bitbucket.org/pypy/pypy/changeset/9a74415a5e88/
Log: next one
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
@@ -877,7 +877,7 @@
"""
new_buf = mallocfn(count)
pinned = 0
- if rgc.can_move(new_buf):
+ if rgc.stm_is_enabled() or rgc.can_move(new_buf):
if rgc.pin(new_buf):
pinned = 1
else:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit