[pypy-commit] pypy py3.5-async: add unroll_safe to opcode dispatch function (loop inside)
plan_rich
pypy.commits at gmail.com
Thu Aug 11 11:00:38 EDT 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: py3.5-async
Changeset: r86143:1e95da517f26
Date: 2016-08-11 16:59 +0200
http://bitbucket.org/pypy/pypy/changeset/1e95da517f26/
Log: add unroll_safe to opcode dispatch function (loop inside)
diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1388,7 +1388,7 @@
itemcount -= 1
return w_sum
-
+ @jit.unroll_safe
def BUILD_TUPLE_UNPACK(self, itemcount, next_instr):
w_list = self.list_unpack_helper(itemcount)
items = [w_obj for w_obj in w_list.getitems_unroll()]
More information about the pypy-commit
mailing list