diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-10 10:27:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-10 10:27:19 -0300 |
commit | 81c6021fb40a254d9a586b0cb53453bba8973d80 (patch) | |
tree | 3abc818902b69ddbb89eaef0a3e52b0f218ceb6c /all | |
parent | a7b8b27dd39f45b9464ffc4226b0616c3ffe5ad7 (diff) | |
download | lua-81c6021fb40a254d9a586b0cb53453bba8973d80.tar.gz lua-81c6021fb40a254d9a586b0cb53453bba8973d80.tar.bz2 lua-81c6021fb40a254d9a586b0cb53453bba8973d80.zip |
New implementation for 'tbclist'
- Fixes a bug, by removing dummy nodes together with the node
itself. (The previous implementation could leave dummy nodes in frames
which otherwise had no tbc variables, and therefore would not close
variables; that could leave 'tbclist' pointing higher than 'top', which
could dangle if the stack shrank.)
- Computes MAXDELTA based on the type of delta, to ease changing its
type if needed.
- Instead of 'isdummy', uses 'delta==0' to signal dummy nodes. (Dummy
nodes always have MAXDELTA for their real delta.)
Diffstat (limited to 'all')
0 files changed, 0 insertions, 0 deletions