[pypy-commit] pypy py3k: (armin, pjenvey) UNPACK_EX loops, thus needs unroll_safe
pjenvey
noreply at buildbot.pypy.org
Thu Mar 15 06:23:04 CET 2012
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r53669:0d2a1233582c
Date: 2012-03-14 22:21 -0700
http://bitbucket.org/pypy/pypy/changeset/0d2a1233582c/
Log: (armin, pjenvey) UNPACK_EX 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
@@ -584,6 +584,7 @@
items = self.space.fixedview_unroll(w_iterable, itemcount)
self.pushrevvalues(itemcount, items)
+ @jit.unroll_safe
def UNPACK_EX(self, oparg, next_instr):
"a, *b, c = range(10)"
left = oparg & 0xFF
More information about the pypy-commit
mailing list