summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestack.c
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-05-13 11:27:00 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-05-13 11:27:00 +0200
commit8572a6c55c6dc699a3162316d8256112b3780ab4 (patch)
treec8498a5601312d7b7e5a92c2d8c716d316f6b805 /ir/be/bestack.c
parenta8583be0d6ec050ff34853f4a0268894fac2b8a7 (diff)
Use appropriate macros for iterating over out edges
Diffstat (limited to 'ir/be/bestack.c')
-rw-r--r--ir/be/bestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestack.c b/ir/be/bestack.c
index 3fd879e..1c86137 100644
--- a/ir/be/bestack.c
+++ b/ir/be/bestack.c
@@ -78,7 +78,7 @@ static void process_stack_bias(sp_sim_func const sim, ir_node *const block,
}
/* Continue at our control flow successors. */
- foreach_out_edge_kind(block, edge, EDGE_KIND_BLOCK) {
+ foreach_block_succ(block, edge) {
ir_node *succ = get_edge_src_irn(edge);
process_stack_bias(sim, succ, p2align, misalign,
state.offset, state.align_padding);