mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Fix unused variable in NDEBUG builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6dedfc073a
commit
7c2e691607
@ -883,6 +883,7 @@ CloningDirector::CloningAction WinEHCatchDirector::handleBeginCatch(
|
||||
if (isa<ConstantPointerNull>(ExceptionObjectVar))
|
||||
return CloningDirector::SkipInstruction;
|
||||
AllocaInst *AI = dyn_cast<AllocaInst>(ExceptionObjectVar);
|
||||
(void)AI;
|
||||
assert(AI && AI->isStaticAlloca() && "catch parameter is not static alloca");
|
||||
Materializer.escapeCatchObject(ExceptionObjectVar);
|
||||
return CloningDirector::SkipInstruction;
|
||||
|
Loading…
Reference in New Issue
Block a user