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 /ltests.h | |
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 'ltests.h')
-rw-r--r-- | ltests.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,8 +44,8 @@ | |||
44 | #define LUA_RAND32 | 44 | #define LUA_RAND32 |
45 | 45 | ||
46 | 46 | ||
47 | /* test stack reallocation with strict address use */ | 47 | /* test stack reallocation without strict address use */ |
48 | #define LUAI_STRICT_ADDRESS 1 | 48 | #define LUAI_STRICT_ADDRESS 0 |
49 | 49 | ||
50 | 50 | ||
51 | /* memory-allocator control variables */ | 51 | /* memory-allocator control variables */ |