mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -761,6 +761,7 @@ InsertSafepointPoll(DominatorTree &DT, Instruction *term,
|
|||||||
InlineFunctionInfo IFI;
|
InlineFunctionInfo IFI;
|
||||||
bool inlineStatus = InlineFunction(poll, IFI);
|
bool inlineStatus = InlineFunction(poll, IFI);
|
||||||
assert(inlineStatus && "inline must succeed");
|
assert(inlineStatus && "inline must succeed");
|
||||||
|
(void)inlineStatus; // suppress warning in release-asserts
|
||||||
|
|
||||||
// Check post conditions
|
// Check post conditions
|
||||||
assert(IFI.StaticAllocas.empty() && "can't have allocs");
|
assert(IFI.StaticAllocas.empty() && "can't have allocs");
|
||||||
|
Reference in New Issue
Block a user