summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-02-04 05:11:20 +0000
committerPhilip Reames <listmail@philipreames.com>2015-02-04 05:11:20 +0000
commit72634d6af07c54f0354e342cd64d56f67e5999c2 (patch)
treed1c6d49717c3834e0f7662162a907fbe8e4c14c6 /llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
parent8f01bb983c2a2e69673f9c60772696cbcbf3bc0c (diff)
downloadbcm5719-llvm-72634d6af07c54f0354e342cd64d56f67e5999c2.tar.gz
bcm5719-llvm-72634d6af07c54f0354e342cd64d56f67e5999c2.zip
Fix a warning in non-asserts builds
llvm-svn: 228114
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
index 01b49c2ffd0..e743a5bce72 100644
--- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
+++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
@@ -761,6 +761,7 @@ InsertSafepointPoll(DominatorTree &DT, Instruction *term,
InlineFunctionInfo IFI;
bool inlineStatus = InlineFunction(poll, IFI);
assert(inlineStatus && "inline must succeed");
+ (void)inlineStatus; // suppress warning in release-asserts
// Check post conditions
assert(IFI.StaticAllocas.empty() && "can't have allocs");
OpenPOWER on IntegriCloud