diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-06 18:08:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-06 18:08:32 +0000 |
commit | d747e8ffe91205d30f2264ae9743ccd6811060b3 (patch) | |
tree | ff02fad302857b3a39230ffa8875f23ab3b3b2f7 /lib/Analysis/DataStructure/Steensgaard.cpp | |
parent | ce4a2e1132b1d8456856ca82259f3fa413fecb8d (diff) |
Change Steens class to build with Vikram's changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Steensgaard.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Steensgaard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp index 9fb5f57987..88d845559f 100644 --- a/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/lib/Analysis/DataStructure/Steensgaard.cpp @@ -48,17 +48,17 @@ namespace { // // alias - This is the only method here that does anything interesting... - Result alias(const Value *V1, const Value *V2) const; + Result alias(const Value *V1, const Value *V2); /// canCallModify - Not implemented yet: FIXME /// - Result canCallModify(const CallInst &CI, const Value *Ptr) const { + Result canCallModify(const CallInst &CI, const Value *Ptr) { return MayAlias; } /// canInvokeModify - Not implemented yet: FIXME /// - Result canInvokeModify(const InvokeInst &I, const Value *Ptr) const { + Result canInvokeModify(const InvokeInst &I, const Value *Ptr) { return MayAlias; } @@ -196,7 +196,7 @@ bool Steens::run(Module &M) { } // alias - This is the only method here that does anything interesting... -AliasAnalysis::Result Steens::alias(const Value *V1, const Value *V2) const { +AliasAnalysis::Result Steens::alias(const Value *V1, const Value *V2) { assert(ResultGraph && "Result grcaph has not yet been computed!"); std::map<Value*, DSNodeHandle> &GVM = ResultGraph->getScalarMap(); |