diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-18 12:48:28 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-18 12:48:28 +0000 |
commit | 62327bb6ff38699f8f4b83aad1cfe9244902f787 (patch) | |
tree | 396478c12ec7012815ed3783a28f9bc708b0ab6e /mjit_compile.c | |
parent | 742df62eb724ba988c9c880771e0aa4053ff3eac (diff) | |
download | ruby-62327bb6ff38699f8f4b83aad1cfe9244902f787.tar.gz |
vm_insnhelper.h: rename CI_SET_FASTPATH to CC_SET_FASTPATH
because it's actually setting fastpath to cc instead of ci since r51903.
vm_insnhelper.c: ditto
mjit_compile.c: ditto
tool/ruby_vm/views/_mjit_compile_send.erb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
-rw-r--r-- | mjit_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mjit_compile.c b/mjit_compile.c index d7741f5383..7cc1a3ca24 100644 --- a/mjit_compile.c +++ b/mjit_compile.c @@ -57,14 +57,14 @@ has_valid_method_type(CALL_CACHE cc) } /* Returns TRUE if iseq is inlinable, otherwise NULL. This becomes TRUE in the same condition - as CI_SET_FASTPATH (in vm_callee_setup_arg) is called from vm_call_iseq_setup. */ + as CC_SET_FASTPATH (in vm_callee_setup_arg) is called from vm_call_iseq_setup. */ static int inlinable_iseq_p(CALL_INFO ci, CALL_CACHE cc, const rb_iseq_t *iseq) { extern int rb_simple_iseq_p(const rb_iseq_t *iseq); return iseq != NULL && rb_simple_iseq_p(iseq) && !(ci->flag & VM_CALL_KW_SPLAT) /* Top of vm_callee_setup_arg. In this case, opt_pc is 0. */ - && (!IS_ARGS_SPLAT(ci) && !IS_ARGS_KEYWORD(ci) && !(METHOD_ENTRY_VISI(cc->me) == METHOD_VISI_PROTECTED)); /* CI_SET_FASTPATH */ + && (!IS_ARGS_SPLAT(ci) && !IS_ARGS_KEYWORD(ci) && !(METHOD_ENTRY_VISI(cc->me) == METHOD_VISI_PROTECTED)); /* CC_SET_FASTPATH */ } static int |