diff options
author | Duncan Sands <baldrick@free.fr> | 2011-08-12 14:54:45 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-08-12 14:54:45 +0000 |
commit | a41634e307caa823b1e050eb8b4f67fdf4b8e415 (patch) | |
tree | 0172f17f10f9238b605692f703516f3d271ff563 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | 50aa2d480ced9bb792d438f6ff92fe06afa6b84e (diff) | |
download | bcm5719-llvm-a41634e307caa823b1e050eb8b4f67fdf4b8e415.tar.gz bcm5719-llvm-a41634e307caa823b1e050eb8b4f67fdf4b8e415.zip |
Silence a bunch (but not all) "variable written but not read" warnings
when building with assertions disabled.
llvm-svn: 137460
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index 20bad60dedd..2ca90f9f05c 100644 --- a/llvm/lib/CodeGen/LiveVariables.cpp +++ b/llvm/lib/CodeGen/LiveVariables.cpp @@ -662,7 +662,7 @@ void LiveVariables::removeVirtualRegistersKilled(MachineInstr *MI) { if (TargetRegisterInfo::isVirtualRegister(Reg)) { bool removed = getVarInfo(Reg).removeKill(MI); assert(removed && "kill not in register's VarInfo?"); - removed = true; + (void)removed; } } } |