mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-03 09:14:30 +00:00
const-ize a predicate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b0138ffab
commit
ea3eec9f85
@ -1333,8 +1333,8 @@ static Value *ConstructSSAForLoadSet(LoadInst *LI,
|
|||||||
return V;
|
return V;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isLifetimeStart(Instruction *Inst) {
|
static bool isLifetimeStart(const Instruction *Inst) {
|
||||||
if (IntrinsicInst* II = dyn_cast<IntrinsicInst>(Inst))
|
if (const IntrinsicInst* II = dyn_cast<IntrinsicInst>(Inst))
|
||||||
return II->getIntrinsicID() == Intrinsic::lifetime_start;
|
return II->getIntrinsicID() == Intrinsic::lifetime_start;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user