Bug: Wrong code generation in bitwise operations

This commit is contained in:
Roberto Ierusalimschy
2022-04-25 14:42:51 -03:00
parent 295cde9454
commit c764ca71a6
3 changed files with 42 additions and 6 deletions

View File

@@ -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