From c764ca71a639f5585b5f466bea25dc42b855a4b0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Apr 2022 14:42:51 -0300 Subject: Bug: Wrong code generation in bitwise operations --- ltests.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index cb3a0b48..ec520498 100644 --- a/ltests.h +++ b/ltests.h @@ -125,6 +125,13 @@ LUA_API void *debug_realloc (void *ud, void *block, #define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } +/* +** This one is not compatible with tests for opcode optimizations, +** as it blocks some optimizations +#define MAXINDEXRK 0 +*/ + + /* make stack-overflow tests run faster */ #undef LUAI_MAXSTACK #define LUAI_MAXSTACK 50000 -- cgit v1.2.3-55-g6feb