From 37d89f170cb1905b4ee2cb42134d8717c91904aa Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 11 Jul 2012 13:15:28 +0200 Subject: [PATCH] remove unused block_attr.succ_head, cond_attr.default_proj --- ir/ir/irop.c | 1 - ir/ir/irtypes.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/ir/ir/irop.c b/ir/ir/irop.c index d848fbeb4..cbe80e0c1 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -549,7 +549,6 @@ static void block_copy_attr(ir_graph *irg, const ir_node *old_node, * This is at least what we need for DCE to work. */ new_node->attr.block.entity = old_node->attr.block.entity; new_node->attr.block.phis = NULL; - INIT_LIST_HEAD(&new_node->attr.block.succ_head); } /** diff --git a/ir/ir/irtypes.h b/ir/ir/irtypes.h index 1b4888f8b..ae49aad76 100644 --- a/ir/ir/irtypes.h +++ b/ir/ir/irtypes.h @@ -213,13 +213,10 @@ typedef struct block_attr { bitset_t *backedge; /**< Bitfield n set to true if pred n is backedge.*/ ir_entity *entity; /**< entitiy representing this block */ ir_node *phis; /**< The list of Phi nodes in this block. */ - - struct list_head succ_head; /**< A list head for all successor edges of a block. */ } block_attr; /** Cond attributes. */ typedef struct cond_attr { - long default_proj; /**< only for non-binary Conds: biggest Proj number, i.e. the one used for default. */ cond_jmp_predicate jmp_pred; /**< only for binary Conds: The jump predication. */ } cond_attr; -- 2.20.1