aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2025-10-29 13:14:48 -0300
committerRoberto I <roberto@inf.puc-rio.br>2025-10-29 13:14:48 -0300
commitd4eff00234dc55dac4cb86b6187f5607c1254f9b (patch)
tree3f080f35cfd23249166a4311946cf0ea766d71d0 /manual
parentfca974486d12aa29bb6d731fdb5b25055157ece8 (diff)
downloadlua-d4eff00234dc55dac4cb86b6187f5607c1254f9b.tar.gz
lua-d4eff00234dc55dac4cb86b6187f5607c1254f9b.tar.bz2
lua-d4eff00234dc55dac4cb86b6187f5607c1254f9b.zip
Fixed initialization of global variables
When calling 'luaK_storevar', the 'expdesc' for the variable must be created before the one for the expression, to satisfy the assumptions for register allocation. So, in a statement like 'global a = exp', where 'a' is actually '_ENV.a', this variable must be handled before the initializing expression 'exp'.
Diffstat (limited to 'manual')
0 files changed, 0 insertions, 0 deletions