mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Use a sane mechanism for that assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c099b8724
commit
5f9e8b971b
@ -590,8 +590,8 @@ bool ARMFastISel::ARMComputeRegOffset(const Value *Obj, unsigned &Reg,
|
||||
break;
|
||||
case Instruction::Alloca: {
|
||||
// Don't handle dynamic allocas.
|
||||
if (FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(Obj)))
|
||||
assert(false && "Alloca should have been handled earlier!");
|
||||
assert(!FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(Obj)) &&
|
||||
"Alloca should have been handled earlier!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user