mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user