[pypy-svn] r54272 - pypy/branch/oo-jit/pypy/jit/timeshifter

antocuni at codespeak.net antocuni at codespeak.net
Wed Apr 30 15:22:00 CEST 2008


Author: antocuni
Date: Wed Apr 30 15:22:00 2008
New Revision: 54272

Modified:
   pypy/branch/oo-jit/pypy/jit/timeshifter/rcontainer.py
Log:
translation fix (thanks to armin)



Modified: pypy/branch/oo-jit/pypy/jit/timeshifter/rcontainer.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/timeshifter/rcontainer.py	(original)
+++ pypy/branch/oo-jit/pypy/jit/timeshifter/rcontainer.py	Wed Apr 30 15:22:00 2008
@@ -913,8 +913,7 @@
                 self.ownbox.setgenvar_hint(gv, known_nonzero=True)
                 self.ownbox.content = None
                 return
-        #name = getattr(typedesc.TYPE, '_name', str(typedesc.TYPE))
-        name = str(typedesc.TYPE)
+        name = typedesc.name
         debug_print(lltype.Void, "FORCE CONTAINER: "+ name)
         #debug_pdb(lltype.Void)
         genvar = jitstate.ts.genop_malloc_fixedsize(builder, typedesc.alloctoken)



More information about the Pypy-commit mailing list