diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-10-05 21:55:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-10-06 03:39:58 +0900 |
commit | a5cc6341c0688c346f70098652b2375c03df40aa (patch) | |
tree | 3e28774e55d1a6db1c0759c744e58109c6c0c297 /compile.c | |
parent | cf1223348a94000ff79d21ff3ecf6bd9ae7e8677 (diff) |
Remove `NODE_VALUES`
This node type was added for the multi-value experiment back in 2004.
The feature itself was removed after a few years, but this is its
remnant.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -9724,18 +9724,6 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const no } break; } - case NODE_VALUES:{ - const NODE *n = node; - if (popped) { - COMPILE_ERROR(ERROR_ARGS "NODE_VALUES: must not be popped"); - } - while (n) { - CHECK(COMPILE(ret, "values item", RNODE_VALUES(n)->nd_head)); - n = RNODE_VALUES(n)->nd_next; - } - ADD_INSN1(ret, node, newarray, INT2FIX(RNODE_VALUES(node)->nd_alen)); - break; - } case NODE_HASH: CHECK(compile_hash(iseq, ret, node, FALSE, popped) >= 0); break; |