Author: Alex Gaynor <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit