Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r61550:c3d37dbae146
Date: 2013-02-21 17:24 +0200
http://bitbucket.org/pypy/pypy/changeset/c3d37dbae146/

Log:    we most likely want caching here too

diff --git a/rpython/rtyper/rclass.py b/rpython/rtyper/rclass.py
--- a/rpython/rtyper/rclass.py
+++ b/rpython/rtyper/rclass.py
@@ -395,7 +395,7 @@
         assert not s_attr.is_constant()
         if '__iter__' in self.allinstancefields:
             raise Exception("__iter__ on instance disallowed")
-        r_method = self.rtyper.makerepr(s_attr)
+        r_method = self.rtyper.getrepr(s_attr)
         r_method.get_method_from_instance(self, vinst, hop.llops)
         hop2 = hop.copy()
         hop2.spaceop.opname = 'simple_call'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to