[pypy-commit] pypy llimpl: '_fakeimpl' is not used any more

rlamy pypy.commits at gmail.com
Sun Feb 7 21:37:24 EST 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: llimpl
Changeset: r82111:ec8879a186b6
Date: 2016-02-08 02:35 +0000
http://bitbucket.org/pypy/pypy/changeset/ec8879a186b6/

Log:	'_fakeimpl' is not used any more

diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py
--- a/rpython/rtyper/llinterp.py
+++ b/rpython/rtyper/llinterp.py
@@ -667,14 +667,6 @@
         return frame.eval()
 
     def op_direct_call(self, f, *args):
-        pythonfunction = getattr(f._obj, '_fakeimpl', None)
-        if pythonfunction is not None:
-            try:
-                return pythonfunction(*args)
-            except:
-                self.make_llexception()
-            return
-
         FTYPE = lltype.typeOf(f).TO
         return self.perform_call(f, FTYPE.ARGS, args)
 


More information about the pypy-commit mailing list