Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r81790:a4551f2871a0 Date: 2016-01-15 12:43 +0100 http://bitbucket.org/pypy/pypy/changeset/a4551f2871a0/
Log: Be clearer about that diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend/llsupport/regalloc.py --- a/rpython/jit/backend/llsupport/regalloc.py +++ b/rpython/jit/backend/llsupport/regalloc.py @@ -666,6 +666,7 @@ self.rm._sync_var(op.getarg(1)) return [self.loc(op.getarg(0)), self.fm.loc(op.getarg(1))] else: + assert op.numargs() == 1 return [self.loc(op.getarg(0))] diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py --- a/rpython/jit/backend/test/runner_test.py +++ b/rpython/jit/backend/test/runner_test.py @@ -3649,6 +3649,8 @@ [i0, i1, i2, i3, i4, i5, i6, i7, i8, i9] i10 = int_add(i0, 42) i11 = call_assembler_i(i10, i1, i2, i3, i4, i5, i6, i7, i8, i9, descr=looptoken) + # NOTE: call_assembler_i() is turned into a single-argument version + # by rewrite.py guard_not_forced()[] finish(i11) ''' _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit