Commits

Alex Gaynor committed 13bff91

update another function for the new greenkey

  • Participants
  • Parent commits a174f74
  • Branches jit-tracehook

Comments (0)

Files changed (1)

File pypy/module/pypyjit/interp_jit.py

 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):