[pypy-svn] r54062 - pypy/branch/io-improvements/pypy/translator

fijal at codespeak.net fijal at codespeak.net
Wed Apr 23 19:23:09 CEST 2008


Author: fijal
Date: Wed Apr 23 19:23:08 2008
New Revision: 54062

Modified:
   pypy/branch/io-improvements/pypy/translator/exceptiontransform.py
Log:
This fixes test_transformed_gc, although I'm not sure exactly if this is a
right fix.


Modified: pypy/branch/io-improvements/pypy/translator/exceptiontransform.py
==============================================================================
--- pypy/branch/io-improvements/pypy/translator/exceptiontransform.py	(original)
+++ pypy/branch/io-improvements/pypy/translator/exceptiontransform.py	Wed Apr 23 19:23:08 2008
@@ -346,7 +346,7 @@
         block.recloseblock(l0, l)
 
         insert_zeroing_op = False
-        if spaceop.opname == 'malloc':
+        if spaceop.opname == 'malloc' or spaceop.opname == 'malloc_nonmovable':
             flavor = spaceop.args[1].value['flavor']
             if flavor == 'gc':
                 insert_zeroing_op = True



More information about the Pypy-commit mailing list