Commit 0244a1f8 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove the write-only attributes cg_backedge and in_cg from struct block_attr.

parent ea6ab290
......@@ -475,8 +475,6 @@ ir_node *new_rd_immBlock(dbg_info *dbgi, ir_graph *irg)
res->attr.block.dynamic_ins = true;
res->attr.block.irg.irg = irg;
res->attr.block.backedge = NULL;
res->attr.block.in_cg = NULL;
res->attr.block.cg_backedge = NULL;
res->attr.block.extblk = NULL;
res->attr.block.entity = NULL;
......
......@@ -76,7 +76,6 @@ static void block_copy_attr(ir_graph *irg, const ir_node *old_node,
default_copy_attr(irg, old_node, new_node);
new_node->attr.block.irg.irg = irg;
new_node->attr.block.phis = NULL;
new_node->attr.block.cg_backedge = NULL;
new_node->attr.block.backedge = new_backedge_arr(irg->obst, get_irn_arity(new_node));
new_node->attr.block.block_visited = 0;
memset(&new_node->attr.block.dom, 0, sizeof(new_node->attr.block.dom));
......
......@@ -211,11 +211,7 @@ typedef struct block_attr {
in different phases. Eventually inline the whole
datastructure. */
ir_dom_info pdom; /**< Datastructure that holds information about post-dominators. */
ir_node ** in_cg; /**< array with predecessors in
* interprocedural_view, if they differ
* from intraprocedural predecessors */
bitset_t *backedge; /**< Bitfield n set to true if pred n is backedge.*/
bitset_t *cg_backedge; /**< Bitfield n set to true if pred n is interprocedural backedge. */
ir_extblk *extblk; /**< The extended basic block this block belongs to. */
ir_entity *entity; /**< entitiy representing this block */
ir_node *phis; /**< The list of Phi nodes in this block. */
......
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