Commit 16fbff77 authored by Julien Balette-Pape's avatar Julien Balette-Pape

fix BB au mauvais cfg

parent 7f85b49c
......@@ -44,8 +44,8 @@ void DotModificator::modify(otawa::CFG *cfg, const otawa::icache::Access *access
// On met au même niveau le node Unsafe et le BB auquel il correspond
flux << "{rank = same; Unsafe_" << _count << "; ";
displayString(cfg->name(), &flux);
flux << "_" << cfg->index() << "_" << bb_match->index() <<";}" << io::endl; //TODO: à optimisé (1 par BB)
displayString(bb_match->cfg()->name(), &flux);
flux << "_" << bb_match->cfg()->index() << "_" << bb_match->index() <<";}" << io::endl; //TODO: à optimisé (1 par BB)
}
} else { // UNSAFE au début
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment