Author: Ronan Lamy <[email protected]>
Branch: online-transforms
Changeset: r73971:3be802e5b7c9
Date: 2014-10-15 22:22 +0100
http://bitbucket.org/pypy/pypy/changeset/3be802e5b7c9/

Log:    InstanceRepr.rtype_len() is not used any more

diff --git a/rpython/rtyper/rclass.py b/rpython/rtyper/rclass.py
--- a/rpython/rtyper/rclass.py
+++ b/rpython/rtyper/rclass.py
@@ -844,9 +844,6 @@
     def rtype_setslice(self, hop):
         return self._emulate_call(hop, "__setslice__")
 
-    def rtype_len(self, hop):
-        return self._emulate_call(hop, "__len__")
-
     def ll_str(self, i):  # doesn't work for non-gc classes!
         from rpython.rtyper.lltypesystem.ll_str import ll_int2hex
         from rpython.rlib.rarithmetic import r_uint
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to