Commit 5ede25c4 authored by dearblue's avatar dearblue

Remove unnecessary configuration macros; ref #5060

The following macros will be removed:
- `ENSURE_STACK_INIT_SIZE`
- `RESCUE_STACK_INIT_SIZE`
- `MRB_ECALL_DEPTH_MAX`
parent cee916ab
...@@ -39,14 +39,6 @@ void abort(void); ...@@ -39,14 +39,6 @@ void abort(void);
#define STACK_INIT_SIZE 128 #define STACK_INIT_SIZE 128
#define CALLINFO_INIT_SIZE 32 #define CALLINFO_INIT_SIZE 32
#ifndef ENSURE_STACK_INIT_SIZE
#define ENSURE_STACK_INIT_SIZE 16
#endif
#ifndef RESCUE_STACK_INIT_SIZE
#define RESCUE_STACK_INIT_SIZE 16
#endif
/* Define amount of linear stack growth. */ /* Define amount of linear stack growth. */
#ifndef MRB_STACK_GROWTH #ifndef MRB_STACK_GROWTH
#define MRB_STACK_GROWTH 128 #define MRB_STACK_GROWTH 128
...@@ -57,11 +49,6 @@ void abort(void); ...@@ -57,11 +49,6 @@ void abort(void);
#define MRB_FUNCALL_DEPTH_MAX 512 #define MRB_FUNCALL_DEPTH_MAX 512
#endif #endif
/* Maximum depth of ecall() recursion. */
#ifndef MRB_ECALL_DEPTH_MAX
#define MRB_ECALL_DEPTH_MAX 512
#endif
/* Maximum stack depth. Should be set lower on memory constrained systems. /* Maximum stack depth. Should be set lower on memory constrained systems.
The value below allows about 60000 recursive calls in the simplest case. */ The value below allows about 60000 recursive calls in the simplest case. */
#ifndef MRB_STACK_MAX #ifndef MRB_STACK_MAX
......
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