Commit 7694b7ce authored by John van Groningen's avatar John van Groningen
Browse files

remove unused fields if_then_rules and if_else_rules from struct if_node_contents

parent e5d0d070
......@@ -1709,10 +1709,8 @@ BEGuardNode (BENodeP cond, BENodeDefP thenNodeDefs, BEStrictNodeIdP thenStricts,
thenElseInfo = ConvertAllocType (struct if_node_contents);
thenElseInfo->if_then_node_defs = thenNodeDefs;
thenElseInfo->if_then_rules = NIL;
thenElseInfo->if_then_strict_node_ids = thenStricts;
thenElseInfo->if_else_node_defs = elseNodeDefs;
thenElseInfo->if_else_rules = NIL;
thenElseInfo->if_else_strict_node_ids = elseStricts;
node = ConvertAllocType (NodeS);
......
......@@ -249,10 +249,8 @@ NewIfNode (void)
node->node_contents.contents_if=then_else_info;
then_else_info->if_then_node_defs = NIL;
then_else_info->if_then_rules = NIL;
then_else_info->if_then_strict_node_ids = NIL;
then_else_info->if_else_node_defs = NIL;
then_else_info->if_else_rules = NIL;
then_else_info->if_else_strict_node_ids = NIL;
node->node_line=-1;
......
......@@ -410,9 +410,6 @@ static Node copy_root_node (Node old)
old_then_else_info = old->node_contents.contents_if;
new->node_contents.contents_if = new_then_else_info;
new_then_else_info->if_then_rules = NULL;
new_then_else_info->if_else_rules = NULL;
old_arg=old->node_arguments;
new_arg = CompAllocType (ArgS);
......@@ -737,9 +734,6 @@ static Node copy_node (Node old,Bool lhs)
old_then_else_info = old->node_contents.contents_if;
new->node_contents.contents_if = new_then_else_info;
new_then_else_info->if_then_rules = NULL;
new_then_else_info->if_else_rules = NULL;
old_arg=old->node_arguments;
new_arg = CompAllocType (ArgS);
......
......@@ -306,13 +306,11 @@ STRUCT (strict_node_id,StrictNodeId){
STRUCT (if_node_contents,IfNodeContents){
NodeDefs if_then_node_defs;
ImpRules if_then_rules;
union {
StrictNodeIdP u_strict_node_ids;
struct node_id_ref_count_list * u_node_id_ref_counts;
} if_then_u;
NodeDefs if_else_node_defs;
ImpRules if_else_rules;
union {
StrictNodeIdP u_strict_node_ids;
struct node_id_ref_count_list * u_node_id_ref_counts;
......@@ -409,10 +407,8 @@ STRUCT (node,Node){
#endif
#define node_then_node_defs node_contents.contents_if->if_then_node_defs
#define node_then_rules node_contents.contents_if->if_then_rules
#define node_then_strict_node_ids node_contents.contents_if->if_then_strict_node_ids
#define node_else_node_defs node_contents.contents_if->if_else_node_defs
#define node_else_rules node_contents.contents_if->if_else_rules
#define node_else_strict_node_ids node_contents.contents_if->if_else_strict_node_ids
#define node_if_scope node_contents.contents_if->if_local_scope
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment