Remove unused nodes in NODE_RETURN and NODE_REDO

This commit is contained in:
Nobuyoshi Nakada 2023-10-05 11:18:02 +09:00
parent 70e1635950
commit f5f3b35b93
2 changed files with 0 additions and 12 deletions

View File

@ -11152,9 +11152,6 @@ static rb_node_retry_t *
rb_node_retry_new(struct parser_params *p, const YYLTYPE *loc)
{
rb_node_retry_t *n = NODE_NEWNODE(NODE_RETRY, rb_node_retry_t, loc);
n->not_used = 0;
n->not_used2 = 0;
n->not_used3 = 0;
return n;
}
@ -11226,9 +11223,6 @@ rb_node_return_new(struct parser_params *p, NODE *nd_stts, const YYLTYPE *loc)
{
rb_node_return_t *n = NODE_NEWNODE(NODE_RETURN, rb_node_return_t, loc);
n->nd_stts = nd_stts;
n->not_used = 0;
n->not_used2 = 0;
return n;
}

View File

@ -304,10 +304,6 @@ typedef struct RNode_REDO {
typedef struct RNode_RETRY {
NODE node;
VALUE not_used;
VALUE not_used2;
VALUE not_used3;
} rb_node_retry_t;
typedef struct RNode_BEGIN {
@ -549,8 +545,6 @@ typedef struct RNode_RETURN {
NODE node;
struct RNode *nd_stts;
VALUE not_used;
VALUE not_used2;
} rb_node_return_t;
typedef struct RNode_YIELD {