mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
Fix a warning in non-asserts builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1638ca5493
commit
c27a1d9ccb
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user