Fix NDEBUG build warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Krzysztof Parzyszek
2015-07-14 21:03:24 +00:00
parent 0e34491fef
commit 4a7fa8cd28

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);
} }