Skip to content

Commit

Permalink
odisplay: switch position of instruction address with aligned LBlock …
Browse files Browse the repository at this point in the history
…address
  • Loading branch information
Florian Brandner committed Oct 5, 2016
1 parent e5b0c76 commit 5fe784c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otawa/src/odisplay/display_CFGOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void CFGOutput::genBBInfo(CFG *cfg, BasicBlock *bb, Output& out) {
out << "---\nInstruction Cache:\n";
for(int i = 0; i < lbs->count(); i++) {
LBlock *lb = lbs->get(i);
out << inst_cache->round(lb->address()) << " (" << lb->instruction() << "): fetch " << lb->address() << " (" << lb->index() << " in " << lb->cacheBlock() << ")" << " | " << otawa::CATEGORY(lb) << io::endl;
out << lb->address() << " (" << lb->instruction() << "): fetch " << inst_cache->round(lb->address()) << " (" << lb->index() << " in " << lb->cacheBlock() << ")" << " | " << otawa::CATEGORY(lb) << io::endl;
}
}
}
Expand Down

0 comments on commit 5fe784c

Please sign in to comment.