Skip to content

Commit eb93231

Browse files
authored
Merge pull request #526 from martin-cs/fix-cfg-dominator-top
Fix cfg dominator top
2 parents aeb99e8 + 5c121b9 commit eb93231

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/analyses/cfg_dominators.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class cfg_dominators_templatet
3535

3636
void operator()(P &program);
3737

38-
target_sett top;
3938
T entry_node;
4039

4140
void output(std::ostream &) const;
@@ -101,10 +100,6 @@ template <class P, class T, bool post_dom>
101100
void cfg_dominators_templatet<P, T, post_dom>::initialise(P &program)
102101
{
103102
cfg(program);
104-
105-
// initialise top element
106-
for(const auto &node : cfg.entry_map)
107-
top.insert(cfg[node.second].PC);
108103
}
109104

110105
/*******************************************************************\

0 commit comments

Comments
 (0)