diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-18 05:33:50 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-18 05:33:50 +0000 |
commit | 26e553d0ed235ce4f1100405c966c65ef8e01c2d (patch) | |
tree | 24799f504489dd48b6ec36eeac1574f630b8415c /vm_exec.c | |
parent | 4ef3a2345e2e81d9ab84ce812d5dc130688ce5cb (diff) | |
download | bundler-26e553d0ed235ce4f1100405c966c65ef8e01c2d.tar.gz |
* vm_exec.h (VM_DEBUG_STACKOVERFLOW): added.
disable stack overflow check for every stack pushing as default.
* vm_exec.c (vm_stack_overflow_for_insn): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.c')
-rw-r--r-- | vm_exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ static void vm_analysis_insn(int insn); #endif /* #define DECL_SC_REG(r, reg) VALUE reg_##r */ +#if VM_DEBUG_STACKOVERFLOW NORETURN(static void vm_stack_overflow_for_insn(void)); static void vm_stack_overflow_for_insn(void) @@ -37,6 +38,7 @@ vm_stack_overflow_for_insn(void) "Please contact ruby-core/dev with your (a part of) script. " "This check will be removed soon."); } +#endif #if !OPT_CALL_THREADED_CODE static VALUE |