1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / rpython / typesystem.py

Diff from to

File pypy/rpython/typesystem.py

  • Ignore whitespace
         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)