projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad9b136
)
instrument: Remove stale start loop test.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 5 Dec 2012 13:17:26 +0000
(14:17 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 5 Dec 2012 14:06:22 +0000
(15:06 +0100)
ir/ir/instrument.c
patch
|
blob
|
history
diff --git
a/ir/ir/instrument.c
b/ir/ir/instrument.c
index
d322170
..
ed9e223
100644
(file)
--- a/
ir/ir/instrument.c
+++ b/
ir/ir/instrument.c
@@
-34,7
+34,6
@@
void instrument_initcall(ir_graph *irg, ir_entity *ent)
{
ir_node *initial_exec;
void instrument_initcall(ir_graph *irg, ir_entity *ent)
{
ir_node *initial_exec;
- ir_node *start_block;
ir_node *first_block = NULL;
int i, idx, need_new_block;
symconst_symbol sym;
ir_node *first_block = NULL;
int i, idx, need_new_block;
symconst_symbol sym;
@@
-43,12
+42,11
@@
void instrument_initcall(ir_graph *irg, ir_entity *ent)
/* find the first block */
initial_exec = get_irg_initial_exec(irg);
/* find the first block */
initial_exec = get_irg_initial_exec(irg);
- start_block = get_irg_start_block(irg);
foreach_out_edge(initial_exec, edge) {
ir_node *succ = get_edge_src_irn(edge);
foreach_out_edge(initial_exec, edge) {
ir_node *succ = get_edge_src_irn(edge);
- if (
succ != start_block &&
is_Block(succ)) {
+ if (is_Block(succ)) {
/* found the first block */
first_block = succ;
break;
/* found the first block */
first_block = succ;
break;