On Mon, Jul 03, 2006 at 02:27:30PM -0700, Chip Salzenberg wrote:
> On Mon, Jul 03, 2006 at 03:39:19PM -0500, Vishal Soni wrote:

> > src_regs and dest_regs are pointers to unsigned char. Unsinged char
> > being 1 byte will store 256 distinct values. Hence I declared the
> > MAX_REGISTER to 256.
> 
> > Let me know what case do we need to code for unbounded number of registers
> > or 256 registers for now.
> 
> The former, please.  I'd consider it the beginning of fixing that bug about
> using 'unsigned char' for registers.

There seems to be some misunderstanding about the usage of unsigned char
in the register_move usage and interface. This is not at all about
limiting register numbers < 256, but it does limit the amount of
params/args inside optimized tail-recursive calls to 255. I.e. the limit
is for the amount of positional function arguments.

Another Q is: do we limit the amount of positional args?

leo

Reply via email to