mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
Removing an unused variable warning I accidentally introduced with my last warning fix; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228295 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac7a1d5994
commit
04688c792c
@ -699,7 +699,7 @@ INITIALIZE_PASS_END(PlaceSafepoints, "place-safepoints", "Place Safepoints",
|
|||||||
|
|
||||||
static bool isGCLeafFunction(const CallSite &CS) {
|
static bool isGCLeafFunction(const CallSite &CS) {
|
||||||
Instruction *inst = CS.getInstruction();
|
Instruction *inst = CS.getInstruction();
|
||||||
if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(inst)) {
|
if (isa<IntrinsicInst>(inst)) {
|
||||||
// Most LLVM intrinsics are things which can never take a safepoint.
|
// Most LLVM intrinsics are things which can never take a safepoint.
|
||||||
// As a result, we don't need to have the stack parsable at the
|
// As a result, we don't need to have the stack parsable at the
|
||||||
// callsite. This is a highly useful optimization since intrinsic
|
// callsite. This is a highly useful optimization since intrinsic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user