Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r59763:77c78edcc384
Date: 2013-01-05 10:32 -0800
http://bitbucket.org/pypy/pypy/changeset/77c78edcc384/

Log:    rtyper fix

diff --git a/pypy/module/cppyy/interp_cppyy.py 
b/pypy/module/cppyy/interp_cppyy.py
--- a/pypy/module/cppyy/interp_cppyy.py
+++ b/pypy/module/cppyy/interp_cppyy.py
@@ -535,7 +535,8 @@
 W_CPPDataMember.typedef.acceptable_as_base_class = False
 
 class W_CPPStaticData(W_CPPDataMember):
-    def _get_offset(self):
+    @jit.elidable_promote()
+    def _get_offset(self, cppinstance):
         return self.offset
 
     def get(self, w_cppinstance, w_pycppclass):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to