diff options
author | Takashi Kokubun <[email protected]> | 2024-01-16 17:31:26 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2024-01-16 17:31:27 -0800 |
commit | 8642a573e6d1091fefbb552bb714ebcf8da66289 (patch) | |
tree | 45e92c6488c926888350cbcc5d7e322eefa74845 /compile.c | |
parent | e37a37e696fdb97a3028f04d8439c010d52adb62 (diff) |
Rename BUILTIN_ATTR_SINGLE_NOARG_INLINE
to BUILTIN_ATTR_SINGLE_NOARG_LEAF
The attribute was created when the other attribute was called BUILTIN_ATTR_INLINE.
Now that the original attribute is renamed to BUILTIN_ATTR_LEAF, it's
only confusing that we call it "_INLINE".
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3847,7 +3847,7 @@ iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcal iobj->insn_id = BIN(opt_invokebuiltin_delegate_leave); const struct rb_builtin_function *bf = (const struct rb_builtin_function *)iobj->operands[0]; if (iobj == (INSN *)list && bf->argc == 0 && (iseq->body->builtin_attrs & BUILTIN_ATTR_LEAF)) { - iseq->body->builtin_attrs |= BUILTIN_ATTR_SINGLE_NOARG_INLINE; + iseq->body->builtin_attrs |= BUILTIN_ATTR_SINGLE_NOARG_LEAF; } } } |