diff options
author | yui-knk <[email protected]> | 2023-10-01 13:19:55 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2023-10-02 09:41:45 +0900 |
commit | 81668579ed0cf90b95f2fcc5755b51842fb65917 (patch) | |
tree | b3a468b02ca8d9aa1a5952e41f3e8e54f77d8944 /parse.y | |
parent | b1131851e085a4d1e5b56599adea1b851be97563 (diff) |
Remove not used fields from call nodes
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -11472,8 +11472,6 @@ static rb_node_super_t * rb_node_super_new(struct parser_params *p, NODE *nd_args, const YYLTYPE *loc) { rb_node_super_t *n = NODE_NEWNODE(NODE_SUPER, rb_node_super_t, loc); - n->not_used = 0; - n->not_used2 = 0; n->nd_args = nd_args; return n; @@ -11483,9 +11481,6 @@ static rb_node_zsuper_t * rb_node_zsuper_new(struct parser_params *p, const YYLTYPE *loc) { rb_node_zsuper_t *n = NODE_NEWNODE(NODE_ZSUPER, rb_node_zsuper_t, loc); - n->not_used = 0; - n->not_used2 = 0; - n->not_used3 = 0; return n; } @@ -11860,7 +11855,6 @@ static rb_node_fcall_t * rb_node_fcall_new(struct parser_params *p, ID nd_mid, NODE *nd_args, const YYLTYPE *loc) { rb_node_fcall_t *n = NODE_NEWNODE(NODE_FCALL, rb_node_fcall_t, loc); - n->not_used = 0; n->nd_mid = nd_mid; n->nd_args = nd_args; @@ -11882,9 +11876,7 @@ static rb_node_vcall_t * rb_node_vcall_new(struct parser_params *p, ID nd_mid, const YYLTYPE *loc) { rb_node_vcall_t *n = NODE_NEWNODE(NODE_VCALL, rb_node_vcall_t, loc); - n->not_used = 0; n->nd_mid = nd_mid; - n->not_used2 = 0; return n; } |