diff options
author | Koichi Sasada <ko1@atdot.net> | 2023-03-10 00:34:38 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2023-03-10 00:37:11 +0900 |
commit | 262254dc7dd9b503ca01ab701eb5cdd96bce4c4d (patch) | |
tree | 35e91b5be422f033740a81f8a969f70f95f9cd71 /compile.c | |
parent | 22d8e95ffe60f9a1267f362bc919c99f03affcae (diff) |
rename `defined_ivar` to `definedivar`
because non-opt instructions should contain `_` char.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7485
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5460,7 +5460,7 @@ defined_expr0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, #define PUSH_VAL(type) (needstr == Qfalse ? Qtrue : rb_iseq_defined_string(type)) case NODE_IVAR: - ADD_INSN3(ret, line_node, defined_ivar, + ADD_INSN3(ret, line_node, definedivar, ID2SYM(node->nd_vid), get_ivar_ic_value(iseq,node->nd_vid), PUSH_VAL(DEFINED_IVAR)); return; |