[pypy-commit] pypy exctrans: Remove dead code

rlamy pypy.commits at gmail.com
Sat Jan 9 14:17:57 EST 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: exctrans
Changeset: r81647:6bb16ed333ea
Date: 2016-01-09 19:17 +0000
http://bitbucket.org/pypy/pypy/changeset/6bb16ed333ea/

Log:	Remove dead code

diff --git a/rpython/translator/c/funcgen.py b/rpython/translator/c/funcgen.py
--- a/rpython/translator/c/funcgen.py
+++ b/rpython/translator/c/funcgen.py
@@ -74,12 +74,6 @@
                     self.more_ll_values.append(link.llexitcase)
                 elif link.exitcase is not None:
                     mix.append(Constant(link.exitcase))
-        if self.exception_policy == "CPython":
-            v, exc_cleanup_ops = self.graph.exc_cleanup
-            mix.append(v)
-            for cleanupop in exc_cleanup_ops:
-                mix.extend(cleanupop.args)
-                mix.append(cleanupop.result)
 
         uniquemix = []
         seen = identity_dict()


More information about the pypy-commit mailing list