|
From: | Noah Lavine |
Subject: | Re: Patches for wip-rtl |
Date: | Mon, 22 Apr 2013 21:34:19 -0400 |
Hi Noah,
Do I understand you correctly that you're just making a sequence of
non-idiomatic instructions because you know that doing the
assert-nargs-ee will check nargs? I would think in a normal case you'd
want to do "assert-nargs-ge 0", then "bind-rest 0", then "reserve-locals
0" (or not; in this case it would not be necessary).
However the bug you have seen with bind-rest is probably also present
with keyword arguments. We should probably just change the
reserve-locals instruction to also take "nargs" as a value, given that
we know it statically at compile-time.
Does that make sense to you?
[Prev in Thread] | Current Thread | [Next in Thread] |