[pypy-commit] pypy stmgc-c7: fix

arigo noreply at buildbot.pypy.org
Mon Mar 23 16:35:45 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r76535:069f9100d94e
Date: 2015-03-23 16:02 +0100
http://bitbucket.org/pypy/pypy/changeset/069f9100d94e/

Log:	fix

diff --git a/rpython/rtyper/rtyper.py b/rpython/rtyper/rtyper.py
--- a/rpython/rtyper/rtyper.py
+++ b/rpython/rtyper/rtyper.py
@@ -371,6 +371,10 @@
             # make sure that the return variables of all graphs
             # are concretetype'd
             self.setconcretetype(graph.getreturnvar())
+            #
+            v1, v2 = graph.exceptblock.inputargs
+            v1.concretetype = self.exceptiondata.lltype_of_exception_type
+            v2.concretetype = self.exceptiondata.lltype_of_exception_value
 
     def _specialize_block(self, block):
         # give the best possible types to the input args


More information about the pypy-commit mailing list