[pypy-svn] r33063 - pypy/dist/pypy/translator/c

mwh at codespeak.net mwh at codespeak.net
Mon Oct 9 17:00:22 CEST 2006


Author: mwh
Date: Mon Oct  9 17:00:19 2006
New Revision: 33063

Modified:
   pypy/dist/pypy/translator/c/exceptiontransform.py
Log:
fix NameError


Modified: pypy/dist/pypy/translator/c/exceptiontransform.py
==============================================================================
--- pypy/dist/pypy/translator/c/exceptiontransform.py	(original)
+++ pypy/dist/pypy/translator/c/exceptiontransform.py	Mon Oct  9 17:00:19 2006
@@ -342,7 +342,7 @@
         if spaceop.opname == 'malloc':
             insert_zeroing_op = True
         elif spaceop.opname == 'flavored_malloc':
-            flavor = op.args[0].value
+            flavor = spaceop.args[0].value
             if flavor.startswith('gc'):
                 insert_zeroing_op = True
 



More information about the Pypy-commit mailing list