aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-04-25 14:42:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-04-25 14:42:51 -0300
commitc764ca71a639f5585b5f466bea25dc42b855a4b0 (patch)
tree0caf66be3a21dbba591d2d16cdf201e83f37d7b0 /ltests.h
parent295cde94545b00afc8624bd388db805504d356bd (diff)
downloadlua-c764ca71a639f5585b5f466bea25dc42b855a4b0.tar.gz
lua-c764ca71a639f5585b5f466bea25dc42b855a4b0.tar.bz2
lua-c764ca71a639f5585b5f466bea25dc42b855a4b0.zip
Bug: Wrong code generation in bitwise operations
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h7
1 files changed, 7 insertions, 0 deletions
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,
125#define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; } 125#define LUAI_USER_ALIGNMENT_T union { char b[sizeof(void*) * 8]; }
126 126
127 127
128/*
129** This one is not compatible with tests for opcode optimizations,
130** as it blocks some optimizations
131#define MAXINDEXRK 0
132*/
133
134
128/* make stack-overflow tests run faster */ 135/* make stack-overflow tests run faster */
129#undef LUAI_MAXSTACK 136#undef LUAI_MAXSTACK
130#define LUAI_MAXSTACK 50000 137#define LUAI_MAXSTACK 50000