Ticket #23 (closed todo: duplicate)
[core] Re-evaluate max. number of get_args values
|Reported by:||kjs||Owned by:|
|Severity:||low||Keywords:||parrot calling conventions|
In compilers/imcc/pcc.c, in the function pcc_get_args, there is a #define for the maximum number of get_args values:
#define PCC_GET_ARGS_LIMIT 15
The comment that goes with it says:
/* Avoid allocations on frequent number of params.
- Arbitrary value, some fine tunning may be good. */
The number of 15 seems indeed to be arbitrary, and is certainly a limitation. This ticket then is to pick one of the following options:
1. leave it to 15. 2. increase it to some higher number 3. make it flexible, allowing any number of get_args values.
This must be decided and implemented.