Skip to content

Fix cfg dominator top #526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/analyses/cfg_dominators.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class cfg_dominators_templatet

void operator()(P &program);

target_sett top;
T entry_node;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the commit message be "Remove unused top" ?


void output(std::ostream &) const;
Expand Down Expand Up @@ -101,10 +100,6 @@ template <class P, class T, bool post_dom>
void cfg_dominators_templatet<P, T, post_dom>::initialise(P &program)
{
cfg(program);

// initialise top element
for(const auto &node : cfg.entry_map)
top.insert(cfg[node.second].PC);
}

/*******************************************************************\
Expand Down