summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beuses.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2007-07-16 18:59:52 +0200
committerMatthias Braun <matze@braunis.de>2007-07-16 18:59:52 +0200
commit14dd44aff9c64c496e886508b1e27fc09b13c0a8 (patch)
treee1f04d6dec4b3f35ef7761cf3272de5d7368df28 /ir/be/beuses.c
parent84725b31574f88d64bd15b95f5cf85bed0ef9ed4 (diff)
fix allocas, fix Tls transform
[r15173]
Diffstat (limited to 'ir/be/beuses.c')
-rw-r--r--ir/be/beuses.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ir/be/beuses.c b/ir/be/beuses.c
index 82cc71a..e3af917 100644
--- a/ir/be/beuses.c
+++ b/ir/be/beuses.c
@@ -171,7 +171,7 @@ static be_next_use_t get_next_use(be_uses_t *env, ir_node *from,
unsigned from_step, const ir_node *def,
int skip_from_uses)
{
- unsigned step = from_step;
+ unsigned step = from_step;
ir_node *block = get_nodes_block(from);
ir_node *next_use;
ir_node *node;
@@ -192,6 +192,8 @@ static be_next_use_t get_next_use(be_uses_t *env, ir_node *from,
ir_node *node = get_edge_src_irn(edge);
unsigned node_step;
+ if(is_Anchor(node))
+ continue;
if(get_nodes_block(node) != block)
continue;
if(is_Phi(node))