Commits

Alex Gaynor committed a174f74

fix for new greenkeys

Comments (0)

Files changed (1)

pypy/module/pypyjit/interp_jit.py

 
 JUMP_ABSOLUTE = opmap['JUMP_ABSOLUTE']
 
-def get_printable_location(next_instr, is_being_profiled, bytecode):
+def get_printable_location(next_instr, is_being_profiled, bytecode, w_f_trace, w_tracefunc):
     from pypy.tool.stdlib_opcode import opcode_method_names
     name = opcode_method_names[ord(bytecode.co_code[next_instr])]
     return '%s #%d %s' % (bytecode.get_repr(), next_instr, name)
 
-def get_jitcell_at(next_instr, is_being_profiled, bytecode):
-    return bytecode.jit_cells.get((next_instr, is_being_profiled), None)
+def get_jitcell_at(next_instr, is_being_profiled, bytecode, w_f_trace, w_tracefunc):
+    return bytecode.jit_cells.get((next_instr, is_being_profiled, w_f_trace, w_tracefunc), None)
 
-def set_jitcell_at(newcell, next_instr, is_being_profiled, bytecode):
-    bytecode.jit_cells[next_instr, is_being_profiled] = newcell
+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):
     return (bytecode.co_flags & CO_GENERATOR) != 0