projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac7a1d5
)
Removing an unused variable warning I accidentally introduced with my last warning...
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 5 Feb 2015 13:52:42 +0000
(13:52 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 5 Feb 2015 13:52:42 +0000
(13:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228295
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/PlaceSafepoints.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/PlaceSafepoints.cpp
b/lib/Transforms/Scalar/PlaceSafepoints.cpp
index 51859ada58d174fb1ba7fcb99fe727fe2a582801..a55c1a77f9fd90520535b314fd912acad65027a9 100644
(file)
--- a/
lib/Transforms/Scalar/PlaceSafepoints.cpp
+++ b/
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