Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r44639:97cf8913ccef Date: 2011-06-02 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/97cf8913ccef/
Log: In case the variable is already spilled and not living in any register, do nothing. diff --git a/pypy/jit/backend/llsupport/regalloc.py b/pypy/jit/backend/llsupport/regalloc.py --- a/pypy/jit/backend/llsupport/regalloc.py +++ b/pypy/jit/backend/llsupport/regalloc.py @@ -220,10 +220,7 @@ del self.reg_bindings[var] self.free_regs.append(loc) except KeyError: - if not we_are_translated(): - import pdb; pdb.set_trace() - else: - raise ValueError + pass # 'var' is already not in a register def loc(self, box): """ Return the location of 'box'. _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit