summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespillslots.c
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2014-04-08 08:58:43 +0200
committerManuel Mohr <manuel.mohr@kit.edu>2014-04-08 08:58:43 +0200
commitc1d1dc14091696fc549e50ceec7767062632bbd6 (patch)
tree7e2a5f029751ced6b171edf6504e02bb2bf03b35 /ir/be/bespillslots.c
parentde3af7c113c3b480423db0882e5a0717592786a8 (diff)
Fix typo.
Diffstat (limited to 'ir/be/bespillslots.c')
-rw-r--r--ir/be/bespillslots.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c
index d43f6d5..4d18281 100644
--- a/ir/be/bespillslots.c
+++ b/ir/be/bespillslots.c
@@ -214,11 +214,11 @@ static spill_t *collect_spill(be_fec_env_t *env, ir_node *node, spillweb_t *web)
ir_node *block = get_nodes_block(arg);
/* add an affinity edge */
- affinity_edge_t *affinty_edge = OALLOC(&env->obst, affinity_edge_t);
- affinty_edge->affinity = get_block_execfreq(block);
- affinty_edge->slot1 = spill->spillslot;
- affinty_edge->slot2 = arg_spill->spillslot;
- ARR_APP1(affinity_edge_t*, env->affinity_edges, affinty_edge);
+ affinity_edge_t *affinity_edge = OALLOC(&env->obst, affinity_edge_t);
+ affinity_edge->affinity = get_block_execfreq(block);
+ affinity_edge->slot1 = spill->spillslot;
+ affinity_edge->slot2 = arg_spill->spillslot;
+ ARR_APP1(affinity_edge_t*, env->affinity_edges, affinity_edge);
#ifndef NDEBUG
spillweb_t *old_web = web;
#endif