[pypy-commit] pypy default: clashes in caches

fijal noreply at buildbot.pypy.org
Wed Jul 11 18:47:49 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r56033:c915f9ba83b9
Date: 2012-07-11 18:47 +0200
http://bitbucket.org/pypy/pypy/changeset/c915f9ba83b9/

Log:	clashes in caches

diff --git a/pypy/jit/metainterp/warmspot.py b/pypy/jit/metainterp/warmspot.py
--- a/pypy/jit/metainterp/warmspot.py
+++ b/pypy/jit/metainterp/warmspot.py
@@ -639,6 +639,7 @@
         if func.func_name.startswith('stats_'):
             # get special treatment since we rewrite it to a call that accepts
             # jit driver
+            func = func_with_new_name(func, func.func_name + '_compiled')
             def new_func(ignored, *args):
                 return func(self, *args)
             ARGS = [lltype.Void] + [arg.concretetype for arg in op.args[3:]]


More information about the pypy-commit mailing list