mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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/LoopInfo.h"
|
||||||
#include "llvm/Analysis/InductionVariable.h"
|
#include "llvm/Analysis/InductionVariable.h"
|
||||||
#include "llvm/Assembly/Writer.h"
|
#include "llvm/Assembly/Writer.h"
|
||||||
|
#include "llvm/Module.h"
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -74,8 +75,8 @@ void WriteToOutput(const ImmediateDominators &ID, ostream &o) {
|
|||||||
for (ImmediateDominators::const_iterator I = ID.begin(), E = ID.end();
|
for (ImmediateDominators::const_iterator I = ID.begin(), E = ID.end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
o << "=============================--------------------------------\n"
|
o << "=============================--------------------------------\n"
|
||||||
<< "\nImmediate Dominator For Basic Block\n" << I->first
|
<< "\nImmediate Dominator For Basic Block\n" << *I->first
|
||||||
<< "is: \n" << I->second << "\n";
|
<< "is: \n" << *I->second << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user