Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: 
Changeset: r83082:e68330b4c7ee
Date: 2016-03-16 15:40 +0100
http://bitbucket.org/pypy/pypy/changeset/e68330b4c7ee/

Log:    this function with the somewhat scary comment is actually no longer
        used

diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -144,14 +144,6 @@
             cache[name, index] = attr
         return attr
 
-    @jit.elidable
-    def _get_cache_attr(self, name, index):
-        key = name, index
-        # this method is not actually elidable, but it's fine anyway
-        if self.cache_attrs is not None:
-            return self.cache_attrs.get(key, None)
-        return None
-
     def add_attr(self, obj, name, index, w_value):
         self._reorder_and_add(obj, name, index, w_value)
         if not jit.we_are_jitted():
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to