[pypy-commit] lang-smalltalk default: make better names for the generated elidable funcs

cfbolz noreply at buildbot.pypy.org
Tue Mar 18 12:46:42 CET 2014


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: 
Changeset: r657:a9926a6cd014
Date: 2014-03-18 12:46 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/a9926a6cd014/

Log:	make better names for the generated elidable funcs

diff --git a/spyvm/shadow.py b/spyvm/shadow.py
--- a/spyvm/shadow.py
+++ b/spyvm/shadow.py
@@ -5,6 +5,8 @@
 from rpython.rlib import rarithmetic, jit
 from rpython.rlib.objectmodel import import_from_mixin
 from rpython.rlib.debug import make_sure_not_resized
+    elidable_func.func_name = "elidable_" + func.func_name
+    meth.func_name = "elidable_meth_" + func.func_name
 
 class AbstractShadow(object):
     """A shadow is an optional extra bit of information that


More information about the pypy-commit mailing list