summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-11-11 13:13:05 +0100
committerMatthias Braun <matze@braunis.de>2011-11-14 11:15:15 +0100
commit2ebc2d3cd8d238348e733c38712dc037c2d27dd7 (patch)
tree18f8b2d79a42a7351576e2ae4e13a906f54a8d8d /ir/be/belive.c
parentd3310a3234a5195bb2eb4bafc8c756dbe3713332 (diff)
remove irbitset.h
Diffstat (limited to 'ir/be/belive.c')
-rw-r--r--ir/be/belive.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/belive.c b/ir/be/belive.c
index 88c01c2..1e52531 100644
--- a/ir/be/belive.c
+++ b/ir/be/belive.c
@@ -31,7 +31,6 @@
#include "iredges_t.h"
#include "irgwalk.h"
#include "irprintf_t.h"
-#include "irbitset.h"
#include "irdump_t.h"
#include "irnodeset.h"
@@ -356,8 +355,8 @@ static void live_end_at_block(ir_node *block, int is_true_out)
mark_live_out(lv, block, def);
visited = re.visited;
- if (!bitset_contains_irn(visited, block)) {
- bitset_add_irn(visited, block);
+ if (!bitset_is_set(visited, get_irn_idx(block))) {
+ bitset_set(visited, get_irn_idx(block));
/*
* If this block is not the definition block, we have to go up