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.
parent de2b4bd0
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <string.h> #include <string.h>
#ifndef MRB_CODEGEN_LEVEL_MAX #ifndef MRB_CODEGEN_LEVEL_MAX
#define MRB_CODEGEN_LEVEL_MAX 1024 #define MRB_CODEGEN_LEVEL_MAX 256
#endif #endif
#define MAXARG_S (1<<16) #define MAXARG_S (1<<16)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment