Fix a warning in non-asserts builds

llvm-svn: 228114
This commit is contained in:
Philip Reames 2015-02-04 05:11:20 +00:00
parent 8f01bb983c
commit 72634d6af0
1 changed files with 1 additions and 0 deletions

View File

@ -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");