mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
Fix a think-o in which functions these should surround
llvm-svn: 248465
This commit is contained in:
parent
aa57ac5d96
commit
abdcb3c1b3
@ -619,7 +619,6 @@ ModRefInfo BasicAAResult::getArgModRefInfo(ImmutableCallSite CS,
|
||||
return AAResultBase::getArgModRefInfo(CS, ArgIdx);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
static bool isAssumeIntrinsic(ImmutableCallSite CS) {
|
||||
const IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction());
|
||||
if (II && II->getIntrinsicID() == Intrinsic::assume)
|
||||
@ -628,6 +627,7 @@ static bool isAssumeIntrinsic(ImmutableCallSite CS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
static const Function *getParent(const Value *V) {
|
||||
if (const Instruction *inst = dyn_cast<Instruction>(V))
|
||||
return inst->getParent()->getParent();
|
||||
@ -637,7 +637,6 @@ static const Function *getParent(const Value *V) {
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool notDifferentParent(const Value *O1, const Value *O2) {
|
||||
|
||||
@ -646,6 +645,7 @@ static bool notDifferentParent(const Value *O1, const Value *O2) {
|
||||
|
||||
return !F1 || !F2 || F1 == F2;
|
||||
}
|
||||
#endif
|
||||
|
||||
AliasResult BasicAAResult::alias(const MemoryLocation &LocA,
|
||||
const MemoryLocation &LocB) {
|
||||
|
Loading…
Reference in New Issue
Block a user