1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

[NFC] Fixed unused function warning

llvm-svn: 339019
This commit is contained in:
David Bolvansky 2018-08-06 14:42:07 +00:00
parent 2b6ebc3031
commit 8b848be5ec

View File

@ -367,6 +367,7 @@ shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
return false;
}
#ifndef NDEBUG
static std::basic_ostream<char> &operator<<(std::basic_ostream<char> &R,
const ore::NV &Arg) {
return R << Arg.Val;
@ -388,7 +389,6 @@ RemarkT &operator<<(RemarkT &&R, const InlineCost &IC) {
return R;
}
#ifndef NDEBUG
static std::string inlineCostStr(const InlineCost &IC) {
std::stringstream Remark;
Remark << IC;