Commits

Alex Gaynor  committed f915493

another removal of pyobject

  • Participants
  • Parent commits 3452112
  • Branches kill-someobject

Comments (0)

Files changed (1)

File pypy/rpython/typesystem.py

         return hop.genop('ptr_nonzero', vlist, resulttype=lltype.Bool)
 
     def getconcretetype(self, v):
-        return getattr(v, 'concretetype', lltype.Ptr(lltype.PyObject))
+        return v.concretetype
 
     def null_callable(self, T):
         return lltype.nullptr(T.TO)