From 93e347b51923a3f0b993aac37c74e1489c02f3b5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 1 Apr 2025 10:41:25 -0300 Subject: 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. --- ltests.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 34205167..7f0ce404 100644 --- a/ltests.h +++ b/ltests.h @@ -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 */ -- cgit v1.2.3-55-g6feb