mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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…
Reference in New Issue
Block a user