Author: Alex Gaynor <[email protected]>
Branch: unroll-if-alt
Changeset: r47350:c8e13020f738
Date: 2011-09-19 09:01 -0400
http://bitbucket.org/pypy/pypy/changeset/c8e13020f738/

Log:    merged upstream

diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -118,6 +118,9 @@
     def inner(func):
         func_unroll = unroll_safe(func_with_new_name(func, func.__name__ + 
"_unroll"))
         func = dont_look_inside(func)
+        # When we return the new function, it might be specialized in some
+        # way. We "propogate" this specialization by using
+        # specialize:call_location on relevant functions.
         for thing in [func, func_unroll, predicate]:
             thing._annspecialcase_ = "specialize:call_location"
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to