Skip to content
Snippets Groups Projects
Commit 175795e0 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Cleanup

parent 1f1abdde
No related branches found
No related tags found
No related merge requests found
......@@ -52,9 +52,6 @@ void CriticalEdgeBreaker_t::breakCriticalEdges()
if (f && f->GetEntryPoint())
m_extra_nodes += breakCriticalEdges(f);
}
m_IR->SetBaseIDS();
m_IR->AssembleRegistry();
}
//
......@@ -65,7 +62,7 @@ void CriticalEdgeBreaker_t::breakCriticalEdges()
unsigned CriticalEdgeBreaker_t::breakCriticalEdges(Function_t* p_func)
{
ControlFlowGraph_t cfg(p_func);
const CriticalEdgeAnalyzer_t cea(cfg);
const CriticalEdgeAnalyzer_t cea(cfg, false);
const auto critical_edges = cea.GetAllCriticalEdges();
auto num_critical_edges_instrumented = 0;
......
......@@ -164,8 +164,11 @@ int ZUntracer_t::execute()
{
if (m_breakupCriticalEdges)
{
CriticalEdgeBreaker_t ceb(getFileIR(), true);
CriticalEdgeBreaker_t ceb(getFileIR(), m_verbose);
cout << "#ATTRIBUTE num_bb_extra_blocks=" << ceb.getNumberExtraNodes() << endl;
getFileIR()->SetBaseIDS();
getFileIR()->AssembleRegistry();
}
return Zax_t::execute();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment