Changeset 13406 for trunk/source/level-1


Ignore:
Timestamp:
Jan 25, 2010, 9:25:01 PM (10 years ago)
Author:
rme
Message:

Increase CALL-ARGUMENTS-LIMIT to 65536 on non-PPC targets.

On x86-64, this lets a single APPLY push 512KB, which is a
significant portion of the default stack size of 2MB.

At the moment, the only thing that checks CALL-ARGUMENTS-LIMIT
is .SPspreadargz, which uses it to guard against the case of
a possibly-circular last argument to APPLY.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/l1-init.lisp

    r13067 r13406  
    140140  in a given lambda list. This is actually the limit on required and &OPTIONAL
    141141  parameters. With &KEY and &AUX you can get more.")
    142 (defconstant call-arguments-limit (floor #x8000 target::node-size)
     142(defconstant call-arguments-limit #+ppc-target (floor #x8000 target::node-size)
     143                                  #-ppc-target #x10000
    143144  "The exclusive upper bound on the number of arguments which may be passed
    144145  to a function, including &REST args."
Note: See TracChangeset for help on using the changeset viewer.