[pypy-commit] pypy stm-gc: XXX temporarily disable the method cache

arigo noreply at buildbot.pypy.org
Mon Feb 20 12:15:56 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r52669:b9b5af7cb2b8
Date: 2012-02-20 12:15 +0100
http://bitbucket.org/pypy/pypy/changeset/b9b5af7cb2b8/

Log:	XXX temporarily disable the method cache

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -359,6 +359,9 @@
     type_system = config.translation.type_system
     backend = config.translation.backend
 
+    if config.translation.stm:   # XXX --- for STM ---
+        config.objspace.std.withmethodcache = False
+
     # all the good optimizations for PyPy should be listed here
     if level in ['2', '3', 'jit']:
         config.objspace.opcodes.suggest(CALL_METHOD=True)


More information about the pypy-commit mailing list