[pypy-commit] pypy kill-someobject: another removal of pyobject
alex_gaynor
noreply at buildbot.pypy.org
Sun Oct 7 18:35:41 CEST 2012
Author: Alex Gaynor <alex.gaynor at 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)
More information about the pypy-commit
mailing list