Author: Philip Jenvey <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit