Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r79638:cfe5d8e88d3d Date: 2015-09-14 19:31 +0200 http://bitbucket.org/pypy/pypy/changeset/cfe5d8e88d3d/
Log: I *think* the inputargs should always contain InputArgXxx objects that are not forwarded. (Hitting the case from test_ll_random) 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 @@ -134,6 +134,8 @@ self.final_jump_op = None def _prepare(self, inputargs, operations, allgcrefs): + for box in inputargs: + assert box.get_forwarded() is None cpu = self.assembler.cpu self.fm = X86FrameManager(cpu.get_baseofs_of_frame_field()) operations = cpu.gc_ll_descr.rewrite_assembler(cpu, operations, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit