[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Add detection for hitting rest argument co
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Add detection for hitting rest argument count limit on direct procedure application (for #910, sort-of) |
Date: |
Thu, 25 Jul 2013 20:23:02 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Jul 25, 2013 at 08:54:39AM +0200, Peter Bex wrote:
> My initial thought was to only generate some calls near the edge cases,
> instead of doing all the calls from 0 up to 2048 arguments.
>
> I'm unsure how to best make it do this, and I was tired at the time so
> I kept it as-is. Maybe someone can come up with a clever way to do this?
Or maybe I can stop being lazy and do it myself ;)
The attached patch simply invokes the procedures with argument counts
from zero to 50 and from MAX-50 to MAX (or rather from MAX to MAX-50,
but that's nitpicking).
Cheers,
Peter
--
http://www.more-magic.net
0001-Add-checks-for-hitting-the-rest-arg-count-limit-on-d.patch
Description: Text document