[pypy-commit] lang-smalltalk default: gah, fix
cfbolz
noreply at buildbot.pypy.org
Tue Mar 18 13:19:11 CET 2014
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch:
Changeset: r659:c3530864395f
Date: 2014-03-18 13:19 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/c3530864395f/
Log: gah, fix
diff --git a/spyvm/shadow.py b/spyvm/shadow.py
--- a/spyvm/shadow.py
+++ b/spyvm/shadow.py
@@ -5,8 +5,6 @@
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
diff --git a/spyvm/version.py b/spyvm/version.py
--- a/spyvm/version.py
+++ b/spyvm/version.py
@@ -8,6 +8,8 @@
return func(self, *args)
def meth(self, *args):
return elidable_func(self, self.version, *args)
+ elidable_func.func_name = "elidable_" + func.func_name
+ meth.func_name = "elidable_meth_" + func.func_name
return meth
# In addition to marking the decorated function as "pure", both the receiver
More information about the pypy-commit
mailing list