diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-11 14:25:11 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-11 14:25:12 -0800 |
commit | 94da5f7c360b64e12c55fa0be266d9f48e66e937 (patch) | |
tree | 41926227dc4246a7f5edbe5a4d66bad0038ca263 /vm_insnhelper.c | |
parent | 0c0c88d383a09fef18d8cf8a1457d1649a2cbd46 (diff) |
Rename builtin attr :inline to :leaf
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index b3e732d26a..f513a9be09 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -6395,7 +6395,7 @@ lookup_builtin_invoker(int argc) static inline VALUE invoke_bf(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, const struct rb_builtin_function* bf, const VALUE *argv) { - const bool canary_p = ISEQ_BODY(reg_cfp->iseq)->builtin_attrs & BUILTIN_ATTR_INLINE; // Verify an assumption of `Primitive.attr! :inline` + const bool canary_p = ISEQ_BODY(reg_cfp->iseq)->builtin_attrs & BUILTIN_ATTR_LEAF; // Verify an assumption of `Primitive.attr! :leaf` SETUP_CANARY(canary_p); VALUE ret = (*lookup_builtin_invoker(bf->argc))(ec, reg_cfp->self, argv, (rb_insn_func_t)bf->func_ptr); CHECK_CANARY(canary_p, BIN(invokebuiltin)); |