diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-01 10:41:25 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-01 10:41:25 -0300 |
commit | 93e347b51923a3f0b993aac37c74e1489c02f3b5 (patch) | |
tree | da8550df942466aee490300ad68f5692b74f068e /ldo.c | |
parent | f4123b2fc2a662c08e3d7edc721241c251a22c4b (diff) | |
download | lua-93e347b51923a3f0b993aac37c74e1489c02f3b5.tar.gz lua-93e347b51923a3f0b993aac37c74e1489c02f3b5.tar.bz2 lua-93e347b51923a3f0b993aac37c74e1489c02f3b5.zip |
Corrections of stack addresses back to strict mode
It can be a little slower, but only for quite large stacks and moreover
stack reallocation is not a common operation. With no strong contrary
reason, it is better to follow the standard.
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ l_noret luaD_errerr (lua_State *L) { | |||
199 | ** The following macro chooses how strict is the code. | 199 | ** The following macro chooses how strict is the code. |
200 | */ | 200 | */ |
201 | #if !defined(LUAI_STRICT_ADDRESS) | 201 | #if !defined(LUAI_STRICT_ADDRESS) |
202 | #define LUAI_STRICT_ADDRESS 0 | 202 | #define LUAI_STRICT_ADDRESS 1 |
203 | #endif | 203 | #endif |
204 | 204 | ||
205 | #if LUAI_STRICT_ADDRESS | 205 | #if LUAI_STRICT_ADDRESS |