[pypy-commit] pypy unroll-if-alt: possible translation fix.

alex_gaynor noreply at buildbot.pypy.org
Tue Sep 20 03:49:20 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: unroll-if-alt
Changeset: r47361:6d7f141c0132
Date: 2011-09-19 21:49 -0400
http://bitbucket.org/pypy/pypy/changeset/6d7f141c0132/

Log:	possible translation fix.

diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -138,6 +138,7 @@
                 # trampoline.oopspec = func.oopspec
                 del func.oopspec
             trampoline.__name__ = func.__name__ + "_trampoline"
+            trampoline._annspecialcase_ = "specialize:call_location"
 
             def f(%(arguments)s):
                 if predicate(%(arguments)s):


More information about the pypy-commit mailing list