[Parrot] #23: [core] Re-evaluate max. number of get_args values

Parrot parrot-tickets at lists.parrot.org
Sun Dec 7 16:03:37 UTC 2008


#23: [core] Re-evaluate max. number of get_args values
----------------------------------------+-----------------------------------
 Reporter:  kjs                         |        Type:  todo 
   Status:  new                         |    Priority:  minor
Milestone:  1.0                         |   Component:  core 
  Version:  trunk                       |    Severity:  low  
 Keywords:  parrot calling conventions  |        Lang:       
    Patch:                              |    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:

     #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.

 kjs

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/23>
Parrot <http://trac.parrot.org/parrot/>
Parrot Development


More information about the parrot-dev mailing list