[pypy-commit] pypy jit-simplify-backendintf: fix

arigo noreply at buildbot.pypy.org
Sun Dec 11 22:42:27 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-simplify-backendintf
Changeset: r50399:c1bad6dee4e2
Date: 2011-12-11 22:27 +0100
http://bitbucket.org/pypy/pypy/changeset/c1bad6dee4e2/

Log:	fix

diff --git a/pypy/jit/backend/model.py b/pypy/jit/backend/model.py
--- a/pypy/jit/backend/model.py
+++ b/pypy/jit/backend/model.py
@@ -1,5 +1,6 @@
 from pypy.rlib.debug import debug_start, debug_print, debug_stop
 from pypy.jit.metainterp import history
+from pypy.rpython.lltypesystem import lltype
 
 
 class AbstractCPU(object):
@@ -91,7 +92,8 @@
         attached to the failing guard, or the one attached to the FINISH.
         Use get_latest_value_xxx() afterwards to read the result(s).
         """
-        execute = self.make_execute_token(*[history.getkind(x) for x in args])
+        argkinds = [history.getkind(lltype.typeOf(x))[0] for x in args]
+        execute = self.make_execute_token(*argkinds)
         return execute(looptoken, *args)
 
     def make_execute_token(self, *argkinds):


More information about the pypy-commit mailing list