Author: Alex Gaynor <alex.gay...@gmail.com> Branch: kill-someobject Changeset: r57829:f915493e9df0 Date: 2012-10-07 18:34 +0200 http://bitbucket.org/pypy/pypy/changeset/f915493e9df0/
Log: another removal of pyobject diff --git a/pypy/rpython/typesystem.py b/pypy/rpython/typesystem.py --- a/pypy/rpython/typesystem.py +++ b/pypy/rpython/typesystem.py @@ -119,7 +119,7 @@ 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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit