Skip to content
Snippets Groups Projects
Commit 107834ae authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

fixed bug where domgraph optimizations were always used

parent 132dc63b
No related branches found
No related tags found
No related merge requests found
......@@ -620,6 +620,8 @@ BasicBlockSet_t ZaxBase_t::getBlocksToInstrument(const ControlFlowGraph_t &cfg)
}
void ZaxBase_t::filterBlocksByDomgraph(BasicBlockSet_t& in_out, const DominatorGraph_t* dg)
{
if(!m_domgraph_optimize)
return;
auto copy=in_out;
for(auto block : copy)
{
......
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