[pypy-svn] r64741 - pypy/branch/pyjitpl5/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Mon Apr 27 18:55:20 CEST 2009


Author: arigo
Date: Mon Apr 27 18:55:19 2009
New Revision: 64741

Modified:
   pypy/branch/pyjitpl5/pypy/rpython/annlowlevel.py
Log:
This was probably a bug: it's supposed to cast from the ROOT
to any class, so oodowncast.  In practice it's used only
with Exception, which means that it's really a no-op.


Modified: pypy/branch/pyjitpl5/pypy/rpython/annlowlevel.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/rpython/annlowlevel.py	(original)
+++ pypy/branch/pyjitpl5/pypy/rpython/annlowlevel.py	Mon Apr 27 18:55:19 2009
@@ -504,7 +504,7 @@
         if isinstance(v_arg.concretetype, lltype.Ptr):
             opname = 'cast_pointer'
         elif isinstance(v_arg.concretetype, ootype.Instance):
-            opname = 'ooupcast'
+            opname = 'oodowncast'
         else:
             assert False
         hop.exception_cannot_occur()



More information about the Pypy-commit mailing list