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.
This commit is contained in:
Roberto Ierusalimschy
2025-04-01 10:41:25 -03:00
parent f4123b2fc2
commit 93e347b519
2 changed files with 3 additions and 3 deletions

View File

@@ -44,8 +44,8 @@
#define LUA_RAND32
/* test stack reallocation with strict address use */
#define LUAI_STRICT_ADDRESS 1
/* test stack reallocation without strict address use */
#define LUAI_STRICT_ADDRESS 0
/* memory-allocator control variables */