[pypy-svn] r63942 - pypy/branch/pyjitpl5-simplify/pypy/annotation

arigo at codespeak.net arigo at codespeak.net
Fri Apr 10 17:46:38 CEST 2009


Author: arigo
Date: Fri Apr 10 17:46:38 2009
New Revision: 63942

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/annotation/model.py
Log:
Partial port of r57563 from oo-jit.


Modified: pypy/branch/pyjitpl5-simplify/pypy/annotation/model.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/annotation/model.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/annotation/model.py	Fri Apr 10 17:46:38 2009
@@ -584,6 +584,8 @@
         return s_val.method
     if isinstance(s_val, SomeOOClass):
         return ootype.Class
+    if isinstance(s_val, SomeOOObject):
+        return s_val.ootype
     if isinstance(s_val, SomeInteriorPtr):
         p = s_val.ll_ptrtype
         if 0 in p.offsets:



More information about the Pypy-commit mailing list