diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-01-30 22:20:55 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-01-30 22:20:55 +0000 |
| commit | 4ab96324af52017c95c4eda707ea721019c59eed (patch) | |
| tree | 43ee0ac34395d5bcb102d0849adcd4323f2a8489 /llvm/lib/Analysis/DataStructure/Steensgaard.cpp | |
| parent | a96066186e096218370755667087e906277d216c (diff) | |
| download | bcm5719-llvm-4ab96324af52017c95c4eda707ea721019c59eed.tar.gz bcm5719-llvm-4ab96324af52017c95c4eda707ea721019c59eed.zip | |
Forward method request to chained aa implementation
llvm-svn: 11024
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Steensgaard.cpp')
| -rw-r--r-- | llvm/lib/Analysis/DataStructure/Steensgaard.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp index 426795e8bde..cc50571019b 100644 --- a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp @@ -63,6 +63,10 @@ namespace { // alias - This is the only method here that does anything interesting... AliasResult alias(const Value *V1, unsigned V1Size, const Value *V2, unsigned V2Size); + + bool pointsToConstantMemory(const Value *P) { + return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P); + } private: void ResolveFunctionCall(Function *F, const DSCallSite &Call, |

