aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-06-04 09:54:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-06-04 09:54:31 -0300
commit519c57d597625f010d1bbb3f91bac5d193111060 (patch)
tree5f218af5cfd7b633935ece8f7223f86397193460 /lstate.c
parentc15543b9afa31ab5dc564511ae11acd808405e8f (diff)
downloadlua-519c57d597625f010d1bbb3f91bac5d193111060.tar.gz
lua-519c57d597625f010d1bbb3f91bac5d193111060.tar.bz2
lua-519c57d597625f010d1bbb3f91bac5d193111060.zip
Removed uneeded check in parser
In a constructor, each field generates at least one opcode, and the number of opcodes is limited by INT_MAX. Therefore, the counters for number of fields cannot exceed this limit. (The current limit for items in the hash part of a table has a limit smaller than INT_MAX. However, as long as there are no overflows, the logic for table resizing will handle that limit.)
Diffstat (limited to 'lstate.c')
0 files changed, 0 insertions, 0 deletions