Author: Alex Gaynor <alex.gay...@gmail.com> Branch: Changeset: r60439:cc89614c9009 Date: 2013-01-24 19:07 -0600 http://bitbucket.org/pypy/pypy/changeset/cc89614c9009/
Log: restore these checks which got deleted diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython/rlib/jit.py @@ -484,8 +484,11 @@ self.autoreds = True self.reds = [] self.numreds = None # see warmspot.autodetect_jit_markers_redvars - assert confirm_enter_jit is None, ( - "reds='auto' is not compatible with confirm_enter_jit") + for hook in [ + get_jitcell_at, set_jitcell_at, get_printable_location, + confirm_enter_jit + ]: + assert hook is None, "reds='auto' is not compatible with JitDriver hooks" else: if reds is not None: self.reds = reds _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit