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
0244a1f8
Commit
0244a1f8
authored
May 13, 2012
by
Christoph Mallon
Browse files
Remove the write-only attributes cg_backedge and in_cg from struct block_attr.
parent
ea6ab290
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/ir/ircons.c
View file @
0244a1f8
...
...
@@ -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
;
...
...
ir/ir/irop.c
View file @
0244a1f8
...
...
@@ -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
));
...
...
ir/ir/irtypes.h
View file @
0244a1f8
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
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