diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-27 11:24:27 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-27 11:24:27 -0300 |
commit | 9904c253da9690728710082cfb94654709ab89e7 (patch) | |
tree | f556ebbf8d99baa37ea8e39608a3d6bea77f8267 /lmem.h | |
parent | fb7e5b76c9d41108c399cf4d16470018b717007b (diff) | |
download | lua-9904c253da9690728710082cfb94654709ab89e7.tar.gz lua-9904c253da9690728710082cfb94654709ab89e7.tar.bz2 lua-9904c253da9690728710082cfb94654709ab89e7.zip |
Flexible limit for use of registers by constructors
Instead of a fixed limit of 50 registers (which, in a bad worst case,
can limit the nesting of constructors to 5 levels), the compiler
computes an individual limit for each constructor based on how many
registers are available when it runs. This limit then controls the
frequency of SETLIST instructions.
Diffstat (limited to 'lmem.h')
0 files changed, 0 insertions, 0 deletions