Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
37d89f17
Commit
37d89f17
authored
Jul 11, 2012
by
Matthias Braun
Browse files
remove unused block_attr.succ_head, cond_attr.default_proj
parent
181c8742
Changes
2
Show whitespace changes
Inline
Side-by-side
ir/ir/irop.c
View file @
37d89f17
...
...
@@ -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
);
}
/**
...
...
ir/ir/irtypes.h
View file @
37d89f17
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment