1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Clarify the intention of false &&

This commit is contained in:
Takashi Kokubun 2020-11-22 22:09:41 -08:00
parent 2700df3c9d
commit 1fea0367d2
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -30,7 +30,8 @@
&& fastpath_applied_iseq_p(ci, captured_cc, iseq = def_iseq_ptr(vm_cc_cme(captured_cc)->def))
&& !(vm_ci_flag(ci) & VM_CALL_TAILCALL))
)) {
if (false && vm_cc_cme(captured_cc)->def->type == VM_METHOD_TYPE_CFUNC)
const bool cfunc_debug = false; // Set true when you want to see inlined cfunc
if (cfunc_debug && vm_cc_cme(captured_cc)->def->type == VM_METHOD_TYPE_CFUNC)
fprintf(stderr, " * %s\n", rb_id2name(vm_ci_mid(ci)));
int sp_inc = (int)sp_inc_of_sendish(ci);