diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-09-03 21:08:07 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-09-03 21:12:31 +0900 |
commit | beaabd23087a54364bc8fc8aa7a45dd9f425e19b (patch) | |
tree | cb81c98448d5f48e1b2cd1dbb5ea09c9b0ea55dc /compile.c | |
parent | 7cb19b3f5bf0a5dcee0e8444b920e01e7d4e7fae (diff) | |
download | ruby-beaabd23087a54364bc8fc8aa7a45dd9f425e19b.tar.gz |
Unify SUPPORT_JOKE and OPT_SUPPORT_JOKE
for simplicity and consistency.
Now SUPPORT_JOKE needs to be prefixed with OPT_ to make the config
visible in `RubyVM::VmOptsH`, and the inconsistency was introduced.
As it has never been available for override in configure (no #ifndef
guard), it should be fine to rename the config.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -732,7 +732,7 @@ rb_iseq_compile_node(rb_iseq_t *iseq, const NODE *node) ADD_INSN(ret, ISEQ_COMPILE_DATA(iseq)->last_line, leave); } -#if SUPPORT_JOKE +#if OPT_SUPPORT_JOKE if (ISEQ_COMPILE_DATA(iseq)->labels_table) { st_table *labels_table = ISEQ_COMPILE_DATA(iseq)->labels_table; ISEQ_COMPILE_DATA(iseq)->labels_table = 0; @@ -6570,7 +6570,7 @@ compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, in INIT_ANCHOR(recv); INIT_ANCHOR(args); -#if SUPPORT_JOKE +#if OPT_SUPPORT_JOKE if (nd_type(node) == NODE_VCALL) { ID id_bitblt; ID id_answer; |