codegen.c: Reduce MRB_CODEGEN_LEVEL_MAX from 1024 to 256.

1024 was too big.  Some deep recursion could not be detected before
actual stack overflow.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-10-18 12:01:07 +09:00
parent de2b4bd0dc
commit 0d08f89159
+1 -1
View File
@@ -20,7 +20,7 @@
#include <string.h>
#ifndef MRB_CODEGEN_LEVEL_MAX
#define MRB_CODEGEN_LEVEL_MAX 1024
#define MRB_CODEGEN_LEVEL_MAX 256
#endif
#define MAXARG_S (1<<16)