From e7db9df9820fd891742dba7ca977754e5d0c14ca Mon Sep 17 00:00:00 2001 From: k0kubun Date: Tue, 18 Sep 2018 13:52:06 +0000 Subject: [PATCH] vm_insnhelper.c: always use bool-ish value for CC_SET_FASTPATH condition. Just a cosmetic change to unify the styling with other lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm_insnhelper.c b/vm_insnhelper.c index a2ce6445ae..406a2e52b0 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2380,7 +2380,7 @@ vm_call_method_nome(rb_execution_context_t *ec, rb_control_frame_t *cfp, struct } else { cc->aux.method_missing_reason = stat; - CC_SET_FASTPATH(cc, vm_call_method_missing, 1); + CC_SET_FASTPATH(cc, vm_call_method_missing, TRUE); return vm_call_method_missing(ec, cfp, calling, ci, cc); } } @@ -2401,7 +2401,7 @@ vm_call_method(rb_execution_context_t *ec, rb_control_frame_t *cfp, struct rb_ca if (ci->flag & VM_CALL_VCALL) stat |= MISSING_VCALL; cc->aux.method_missing_reason = stat; - CC_SET_FASTPATH(cc, vm_call_method_missing, 1); + CC_SET_FASTPATH(cc, vm_call_method_missing, TRUE); return vm_call_method_missing(ec, cfp, calling, ci, cc); } return vm_call_method_each_type(ec, cfp, calling, ci, cc);