[pypy-svn] r25391 - pypy/dist/pypy/translator/c
hpk at codespeak.net
hpk at codespeak.net
Wed Apr 5 16:35:47 CEST 2006
Author: hpk
Date: Wed Apr 5 16:35:46 2006
New Revision: 25391
Modified:
pypy/dist/pypy/translator/c/exceptiontransform.py
Log:
only insert keepalives of a variable along a link if
the variable isn't there already
Modified: pypy/dist/pypy/translator/c/exceptiontransform.py
==============================================================================
--- pypy/dist/pypy/translator/c/exceptiontransform.py (original)
+++ pypy/dist/pypy/translator/c/exceptiontransform.py Wed Apr 5 16:35:46 2006
@@ -30,6 +30,7 @@
assert 0, "not implemented yet"
def insert_keepalives_along(translator, link, vars):
+ vars = [v for v in vars if v not in link.args]
link.args.extend(vars)
newvars = [copyvar(translator, v) for v in vars]
block = link.target
More information about the Pypy-commit
mailing list