[pypy-commit] pypy value-profiling: (arigo, cfbolz): fix unroll_safe
cfbolz
noreply at buildbot.pypy.org
Wed Aug 12 12:02:19 CEST 2015
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: value-profiling
Changeset: r78929:d13ecd04dfb3
Date: 2015-08-12 12:02 +0200
http://bitbucket.org/pypy/pypy/changeset/d13ecd04dfb3/
Log: (arigo, cfbolz): fix unroll_safe
diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -206,7 +206,6 @@
self.fast_natural_arity = eval.Code.FLATPYCALL | self.co_argcount
- @jit.unroll_safe
def funcrun(self, func, args):
frame = self.space.createframe(self, func.w_func_globals,
func)
@@ -220,7 +219,6 @@
fresh_frame.init_cells()
return frame.run()
- @jit.unroll_safe
def funcrun_obj(self, func, w_obj, args):
frame = self.space.createframe(self, func.w_func_globals,
func)
diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -168,6 +168,7 @@
vprof = self.getcode().vprofs[varindex]
vprof.see_write(value)
+ @jit.unroll_safe
def _all_locals_changed(self):
for i, vprof in enumerate(self.getcode().vprofs):
vprof.see_write(self.locals_cells_stack_w[i])
More information about the pypy-commit
mailing list