[pypy-svn] r26921 - pypy/dist/pypy/translator/backendopt

cfbolz at codespeak.net cfbolz at codespeak.net
Sun May 7 10:48:10 CEST 2006


Author: cfbolz
Date: Sun May  7 10:48:08 2006
New Revision: 26921

Modified:
   pypy/dist/pypy/translator/backendopt/propagate.py
Log:
typo (and forgot to run test_all :-(


Modified: pypy/dist/pypy/translator/backendopt/propagate.py
==============================================================================
--- pypy/dist/pypy/translator/backendopt/propagate.py	(original)
+++ pypy/dist/pypy/translator/backendopt/propagate.py	Sun May  7 10:48:08 2006
@@ -313,8 +313,8 @@
                 newargs = [getnewvar(var) for var in copylink.args]
                 newlink = Link(newargs, copylink.target, copylink.exitcase)
                 newlink.prevblock = block
-                newlink.last_exception = getnewvar(link.last_exception)
-                newlink.last_exc_value = getnewvar(link.last_exc_value)
+                newlink.last_exception = getnewvar(copylink.last_exception)
+                newlink.last_exc_value = getnewvar(copylink.last_exc_value)
                 if hasattr(link, 'llexitcase'):
                     newlink.llexitcase = link.llexitcase
                 newlinks.append(newlink)



More information about the Pypy-commit mailing list