diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-12 05:46:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-12 05:46:13 +0000 |
commit | 241dced625f9ba8a4071954579778a0940e75179 (patch) | |
tree | 3c9d22ed57adc47ccb2fbb414572a13a85007bfd /template | |
parent | c33e716d6d2069e78f0b96793547355b0679a2d7 (diff) | |
download | ruby-241dced625f9ba8a4071954579778a0940e75179.tar.gz |
Disable tailcall optimization [Bug #15303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/prelude.c.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/prelude.c.tmpl b/template/prelude.c.tmpl index f642398921..aa760dc054 100644 --- a/template/prelude.c.tmpl +++ b/template/prelude.c.tmpl @@ -148,7 +148,7 @@ prelude_eval(VALUE code, VALUE name, int line) static const rb_compile_option_t optimization = { TRUE, /* int inline_const_cache; */ TRUE, /* int peephole_optimization; */ - TRUE, /* int tailcall_optimization; */ + FALSE,/* int tailcall_optimization; */ TRUE, /* int specialized_instruction; */ TRUE, /* int operands_unification; */ TRUE, /* int instructions_unification; */ |