projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM let processInstruction() tranforms chain.
[oota-llvm.git]
/
lib
/
Analysis
/
AliasDebugger.cpp
diff --git
a/lib/Analysis/AliasDebugger.cpp
b/lib/Analysis/AliasDebugger.cpp
index 7f49c0510678b536df349dfa4599572e11fe59d0..f15c05153e1062ca68f7e77aa92cd5bd7ec2b464 100644
(file)
--- a/
lib/Analysis/AliasDebugger.cpp
+++ b/
lib/Analysis/AliasDebugger.cpp
@@
-39,7
+39,9
@@
namespace {
public:
static char ID; // Class identification, replacement for typeinfo
public:
static char ID; // Class identification, replacement for typeinfo
- AliasDebugger() : ModulePass(ID) {}
+ AliasDebugger() : ModulePass(ID) {
+ initializeAliasDebuggerPass(*PassRegistry::getPassRegistry());
+ }
bool runOnModule(Module &M) {
InitializeAliasAnalysis(this); // set up super class
bool runOnModule(Module &M) {
InitializeAliasAnalysis(this); // set up super class
@@
-111,9
+113,9
@@
namespace {
return AliasAnalysis::getModRefInfo(CS1,CS2);
}
return AliasAnalysis::getModRefInfo(CS1,CS2);
}
- bool pointsToConstantMemory(const Location &Loc) {
+ bool pointsToConstantMemory(const Location &Loc
, bool OrLocal
) {
assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before");
assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before");
- return AliasAnalysis::pointsToConstantMemory(Loc);
+ return AliasAnalysis::pointsToConstantMemory(Loc
, OrLocal
);
}
virtual void deleteValue(Value *V) {
}
virtual void deleteValue(Value *V) {