[pypy-svn] r39690 - pypy/dist/pypy/rpython/ootypesystem
guido at codespeak.net
guido at codespeak.net
Fri Mar 2 15:44:26 CET 2007
Author: guido
Date: Fri Mar 2 15:44:22 2007
New Revision: 39690
Modified:
pypy/dist/pypy/rpython/ootypesystem/bltregistry.py
Log:
intermediate checkin, allow compute_result_annotation not to have bookkeeper
Modified: pypy/dist/pypy/rpython/ootypesystem/bltregistry.py
==============================================================================
--- pypy/dist/pypy/rpython/ootypesystem/bltregistry.py (original)
+++ pypy/dist/pypy/rpython/ootypesystem/bltregistry.py Fri Mar 2 15:44:22 2007
@@ -206,6 +206,8 @@
_type_ = BasicExternal.__metaclass__
def compute_result_annotation(self):
+ if self.bookkeeper is None:
+ return annmodel.SomeExternalBuiltin(ExternalType(self.instance))
return annmodel.SomeExternalBuiltin(self.bookkeeper.getexternaldesc(self.instance))
def specialize_call(self, hop):
More information about the Pypy-commit
mailing list