[pypy-svn] r74097 - pypy/branch/blackhole-improvement/pypy/jit/codewriter

fijal at codespeak.net fijal at codespeak.net
Tue Apr 27 06:09:17 CEST 2010


Author: fijal
Date: Tue Apr 27 06:09:15 2010
New Revision: 74097

Modified:
   pypy/branch/blackhole-improvement/pypy/jit/codewriter/flatten.py
Log:
I'm not sure if it's correct, but use lltype.typeOf here


Modified: pypy/branch/blackhole-improvement/pypy/jit/codewriter/flatten.py
==============================================================================
--- pypy/branch/blackhole-improvement/pypy/jit/codewriter/flatten.py	(original)
+++ pypy/branch/blackhole-improvement/pypy/jit/codewriter/flatten.py	Tue Apr 27 06:09:15 2010
@@ -178,10 +178,8 @@
                     self.emitline("reraise")
                 else:
                     self.emitline('goto_if_exception_mismatch',
-                                  Constant(link.llexitcase),
-                                  # XXX should I live concretetype here
-                                  #     or should I just make user do
-                                  #     lltype.typeOf???
+                                  Constant(link.llexitcase,
+                                           lltype.typeOf(link.llexitcase))),
                                   TLabel(link))
                     self.make_link(link)
                     self.emitline(Label(link))



More information about the Pypy-commit mailing list