Commits

Maciej Fijalkowski committed c3d37db

we most likely want caching here too

  • Participants
  • Parent commits a72c3e8

Comments (0)

Files changed (1)

rpython/rtyper/rclass.py

         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'