Remove unused nodes in NODE_RETURN and NODE_REDO
This commit is contained in:
parent
70e1635950
commit
f5f3b35b93
6
parse.y
6
parse.y
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user