[pypy-commit] pypy online-transforms-2: InstanceRepr.rtype_len() is not used any more

rlamy noreply at buildbot.pypy.org
Thu Feb 19 19:44:19 CET 2015


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: online-transforms-2
Changeset: r76001:db580d4f7b66
Date: 2014-10-15 22:22 +0100
http://bitbucket.org/pypy/pypy/changeset/db580d4f7b66/

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
@@ -851,9 +851,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


More information about the pypy-commit mailing list