1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[PM/AA] Remove two no-op overridden functions that just delegated to the

base class anyways.

llvm-svn: 245034
This commit is contained in:
Chandler Carruth 2015-08-14 08:39:32 +00:00
parent 93efd6c370
commit e44c5df8e5
2 changed files with 0 additions and 10 deletions

View File

@ -98,10 +98,6 @@ public:
const MemoryLocation &LocB) override;
ModRefInfo getModRefInfo(ImmutableCallSite CS,
const MemoryLocation &Loc) override;
ModRefInfo getModRefInfo(ImmutableCallSite CS1,
ImmutableCallSite CS2) override {
return AliasAnalysis::getModRefInfo(CS1, CS2);
}
/// getModRefBehavior - Return the behavior of the specified function if
/// called from the specified call site. The call site may be null in which

View File

@ -42,12 +42,6 @@ struct LibCallAliasAnalysis : public FunctionPass, public AliasAnalysis {
ModRefInfo getModRefInfo(ImmutableCallSite CS,
const MemoryLocation &Loc) override;
ModRefInfo getModRefInfo(ImmutableCallSite CS1,
ImmutableCallSite CS2) override {
// TODO: Could compare two direct calls against each other if we cared to.
return AliasAnalysis::getModRefInfo(CS1, CS2);
}
void getAnalysisUsage(AnalysisUsage &AU) const override;
bool runOnFunction(Function &F) override;