summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-31 19:57:31 +0900
committerGitHub <[email protected]>2021-01-31 19:57:31 +0900
commit406159d41231302efc6731bda5634f5a9fa69bad (patch)
tree579337ccedd52f211be34ebb6036b752b27c70e7 /src
parentcee916ab0f7357a4fe544d08747b835512b56802 (diff)
parent5ede25c40f984342b3a6ed8243612331a34f3214 (diff)
downloadmruby-406159d41231302efc6731bda5634f5a9fa69bad.tar.gz
mruby-406159d41231302efc6731bda5634f5a9fa69bad.zip
Merge pull request #5312 from dearblue/diet-5060
Remove unnecessary configuration macros; ref #5060
Diffstat (limited to 'src')
-rw-r--r--src/vm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vm.c b/src/vm.c
index 72bcafd41..07f2e7039 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -39,14 +39,6 @@ void abort(void);
#define STACK_INIT_SIZE 128
#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. */
#ifndef MRB_STACK_GROWTH
#define MRB_STACK_GROWTH 128
@@ -57,11 +49,6 @@ void abort(void);
#define MRB_FUNCALL_DEPTH_MAX 512
#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.
The value below allows about 60000 recursive calls in the simplest case. */
#ifndef MRB_STACK_MAX