[pypy-commit] pypy jit-tracehook: update another function for the new greenkey

alex_gaynor noreply at buildbot.pypy.org
Thu Mar 1 23:37:40 CET 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: jit-tracehook
Changeset: r53086:13bff91d31c5
Date: 2012-03-01 17:37 -0500
http://bitbucket.org/pypy/pypy/changeset/13bff91d31c5/

Log:	update another function for the new greenkey

diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/module/pypyjit/interp_jit.py
--- a/pypy/module/pypyjit/interp_jit.py
+++ b/pypy/module/pypyjit/interp_jit.py
@@ -37,7 +37,7 @@
 def set_jitcell_at(newcell, next_instr, is_being_profiled, bytecode, w_f_trace, w_tracefunc):
     bytecode.jit_cells[next_instr, is_being_profiled, w_f_trace, w_tracefunc] = newcell
 
-def should_unroll_one_iteration(next_instr, is_being_profiled, bytecode):
+def should_unroll_one_iteration(next_instr, is_being_profiled, bytecode, w_f_trace, w_tracefunc):
     return (bytecode.co_flags & CO_GENERATOR) != 0
 
 class PyPyJitDriver(JitDriver):


More information about the pypy-commit mailing list