summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-02-05 13:52:42 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-02-05 13:52:42 +0000
commit94d4d33a38cbc83eaaef1e5f15e76c56f3c61ac9 (patch)
tree0e6dd149811738dd1b1163362e14dcd1b649bd08
parent1b072b340b4c317962be279ed574394ed787d4ba (diff)
downloadbcm5719-llvm-94d4d33a38cbc83eaaef1e5f15e76c56f3c61ac9.tar.gz
bcm5719-llvm-94d4d33a38cbc83eaaef1e5f15e76c56f3c61ac9.zip
Removing an unused variable warning I accidentally introduced with my last warning fix; NFC.
llvm-svn: 228295
-rw-r--r--llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
index 51859ada58d..a55c1a77f9f 100644
--- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
+++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
@@ -699,7 +699,7 @@ INITIALIZE_PASS_END(PlaceSafepoints, "place-safepoints", "Place Safepoints",
static bool isGCLeafFunction(const CallSite &CS) {
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.
// As a result, we don't need to have the stack parsable at the
// callsite. This is a highly useful optimization since intrinsic
OpenPOWER on IntegriCloud