Author: Antonio Cuni <[email protected]>
Branch: cpyext-fast-typecheck
Changeset: r94124:b28a895c1dca
Date: 2018-03-23 17:44 +0100
http://bitbucket.org/pypy/pypy/changeset/b28a895c1dca/

Log:    now that offset is immutable, we can safely unroll this, I think

diff --git a/pypy/module/cpyext/methodobject.py 
b/pypy/module/cpyext/methodobject.py
--- a/pypy/module/cpyext/methodobject.py
+++ b/pypy/module/cpyext/methodobject.py
@@ -240,6 +240,7 @@
     def call(self, space, w_self, __args__):
         raise NotImplementedError
 
+    @jit.unroll_safe
     def get_func_to_call(self):
         func_to_call = self.func
         if self.offset:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to