[pypy-commit] pypy py3k: _make_function loops, thus needs unroll_safe

pjenvey noreply at buildbot.pypy.org
Tue Mar 20 01:05:20 CET 2012


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r53823:42ef0a0b3cbc
Date: 2012-03-19 17:04 -0700
http://bitbucket.org/pypy/pypy/changeset/42ef0a0b3cbc/

Log:	_make_function loops, thus needs unroll_safe

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -991,6 +991,7 @@
         w_varargs = self.popvalue()
         self.call_function(oparg, w_varargs, w_varkw)
 
+    @jit.unroll_safe
     def _make_function(self, oparg, freevars=None):
         space = self.space
         w_codeobj = self.popvalue()


More information about the pypy-commit mailing list