mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Silence warning when no assertions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c80c75783
commit
409a3d0837
@ -318,6 +318,7 @@ MachineFunction::construct(const Function *Fn, const TargetMachine &Tar)
|
||||
void MachineFunction::destruct(const Function *Fn) {
|
||||
bool Deleted = Fn->deleteAnnotation(MF_AID);
|
||||
assert(Deleted && "Machine code did not exist for function!");
|
||||
Deleted = Deleted; // silence warning when no assertions.
|
||||
}
|
||||
|
||||
MachineFunction& MachineFunction::get(const Function *F)
|
||||
|
Loading…
Reference in New Issue
Block a user