Fix NDEBUG build warning

llvm-svn: 242200
This commit is contained in:
Krzysztof Parzyszek 2015-07-14 21:03:24 +00:00
parent d5fdef016d
commit fdfaae42b6
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ namespace {
Register Reg; Register Reg;
const TargetRegisterInfo &TRI; const TargetRegisterInfo &TRI;
}; };
raw_ostream &operator<< (raw_ostream &OS, const PrintRegister &PR)
LLVM_ATTRIBUTE_UNUSED;
raw_ostream &operator<< (raw_ostream &OS, const PrintRegister &PR) { raw_ostream &operator<< (raw_ostream &OS, const PrintRegister &PR) {
return OS << PrintReg(PR.Reg.R, &PR.TRI, PR.Reg.S); return OS << PrintReg(PR.Reg.R, &PR.TRI, PR.Reg.S);
} }