Ticket #23 (closed todo: duplicate)

Opened 13 years ago

Last modified 13 years ago

[core] Re-evaluate max. number of get_args values

Reported by: kjs Owned by:
Priority: minor Milestone: 1.0
Component: core Version: trunk
Severity: low Keywords: parrot calling conventions
Cc: parrot-dev@… Language:
Patch status: Platform: all


In compilers/imcc/pcc.c, in the function pcc_get_args, there is a #define for the maximum number of get_args values:


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.


Change History

Changed 13 years ago by kjs

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.