From 31f21aed2cee297a1fc316d60744697580446608 Mon Sep 17 00:00:00 2001 From: svn Date: Fri, 23 Oct 2015 17:53:53 +0000 Subject: [PATCH] * properties. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/mk_call_iseq_optimized.rb | 144 ++++++++++++++++----------------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/tool/mk_call_iseq_optimized.rb b/tool/mk_call_iseq_optimized.rb index d99de0a46b..3d98a14755 100644 --- a/tool/mk_call_iseq_optimized.rb +++ b/tool/mk_call_iseq_optimized.rb @@ -1,72 +1,72 @@ - -puts <flag & VM_CALL_TAILCALL)) { - return vm_call_iseq_setup_tailcall_0start; - } - else if (0) { /* to disable optimize */ - return vm_call_iseq_setup_normal_0start; - } - else { - if (param_size <= #{P.end} && - local_size <= #{L.end}) { - VM_ASSERT(local_size != 0); - return vm_call_iseq_handlers[param_size][local_size-1]; - } - return vm_call_iseq_setup_normal_0start; - } -} - -#else - - -static inline vm_call_handler -vm_call_iseq_setup_func(const struct rb_call_info *ci, struct rb_call_cache *cc) -{ - if (UNLIKELY(ci->flag & VM_CALL_TAILCALL)) { - return vm_call_iseq_setup_tailcall_0start; - } - else { - return vm_call_iseq_setup_normal_0start; - } -} -#endif -EOS + +puts <flag & VM_CALL_TAILCALL)) { + return vm_call_iseq_setup_tailcall_0start; + } + else if (0) { /* to disable optimize */ + return vm_call_iseq_setup_normal_0start; + } + else { + if (param_size <= #{P.end} && + local_size <= #{L.end}) { + VM_ASSERT(local_size != 0); + return vm_call_iseq_handlers[param_size][local_size-1]; + } + return vm_call_iseq_setup_normal_0start; + } +} + +#else + + +static inline vm_call_handler +vm_call_iseq_setup_func(const struct rb_call_info *ci, struct rb_call_cache *cc) +{ + if (UNLIKELY(ci->flag & VM_CALL_TAILCALL)) { + return vm_call_iseq_setup_tailcall_0start; + } + else { + return vm_call_iseq_setup_normal_0start; + } +} +#endif +EOS