mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
Print the contents, not the pointer...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5585f53d7c
commit
173e4244db
@ -11,6 +11,7 @@
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include "llvm/Analysis/InductionVariable.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "llvm/Module.h"
|
||||
#include <iterator>
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
@ -74,8 +75,8 @@ void WriteToOutput(const ImmediateDominators &ID, ostream &o) {
|
||||
for (ImmediateDominators::const_iterator I = ID.begin(), E = ID.end();
|
||||
I != E; ++I) {
|
||||
o << "=============================--------------------------------\n"
|
||||
<< "\nImmediate Dominator For Basic Block\n" << I->first
|
||||
<< "is: \n" << I->second << "\n";
|
||||
<< "\nImmediate Dominator For Basic Block\n" << *I->first
|
||||
<< "is: \n" << *I->second << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user