Author: Armin Rigo <[email protected]>
Branch: stm
Changeset: r48803:31f2ed861176
Date: 2011-11-05 19:35 +0100
http://bitbucket.org/pypy/pypy/changeset/31f2ed861176/
Log: One more.
diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py
--- a/pypy/rlib/rgc.py
+++ b/pypy/rlib/rgc.py
@@ -186,8 +186,11 @@
from pypy.rpython.lltypesystem.lloperation import llop
from pypy.rlib.objectmodel import keepalive_until_here
- if llop.shrink_array(lltype.Bool, p, smallerlength):
- return p # done by the GC
+ # XXX --- custom version for STM ---
+ # the next two lines are disabled:
+## if llop.shrink_array(lltype.Bool, p, smallerlength):
+## return p # done by the GC
+
# XXX we assume for now that the type of p is GcStruct containing a
# variable array, with no further pointers anywhere, and exactly one
# field in the fixed part -- like STR and UNICODE.
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit