Author: Richard Plangger <r...@pasra.at> Branch: vecopt-merge Changeset: r79150:b06be6fc7944 Date: 2015-08-23 08:58 +0200 http://bitbucket.org/pypy/pypy/changeset/b06be6fc7944/
Log: updated failure for accum to be printed at runtime diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py --- a/rpython/jit/backend/x86/regalloc.py +++ b/rpython/jit/backend/x86/regalloc.py @@ -346,8 +346,10 @@ count += 1 accum_info = accum_info.prev else: - llop.debug_print(lltype.Void, "[accumulator] %d accumulators, none matched box %s\n" % (count, accum_info.box)) - assert 0 + msg = "[accumulator] %d accumulators, none matched box %s\n" % (count, accum_info.box) + if we_are_translated(): + llop.debug_print(lltype.Void, msg) + raise NotImplementedError(msg) def perform_with_guard(self, op, guard_op, arglocs, result_loc): faillocs = self.locs_for_fail(guard_op) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit