diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-06 21:46:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-06 21:46:45 +0000 |
commit | 4db1f62d8490689f698fe8164e4dfdb79ba05537 (patch) | |
tree | 4551c4beb70c062786f2bdb8fa7180765d8ad9ff /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | a39cfc5c5bc5b80e68f7834a185501c16412cb16 (diff) | |
download | bcm5719-llvm-4db1f62d8490689f698fe8164e4dfdb79ba05537.tar.gz bcm5719-llvm-4db1f62d8490689f698fe8164e4dfdb79ba05537.zip |
Silence warning when no assertions.
llvm-svn: 49284
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 9bcf250aea8..a9501259d24 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -317,7 +317,8 @@ 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!"); + assert(Deleted && "Machine code did not exist for function!"); + Deleted = Deleted; // silence warning when no assertions. } MachineFunction& MachineFunction::get(const Function *F) |