From 6bca938bf00a1161847faf2c9055326861a8d8cd Mon Sep 17 00:00:00 2001 From: David Bolvansky Date: Mon, 6 Aug 2018 14:42:07 +0000 Subject: [NFC] Fixed unused function warning llvm-svn: 339019 --- llvm/lib/Transforms/IPO/Inliner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/IPO/Inliner.cpp') diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index 95f3dbbf217..2517a83c96c 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/lib/Transforms/IPO/Inliner.cpp @@ -367,6 +367,7 @@ shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, return false; } +#ifndef NDEBUG static std::basic_ostream &operator<<(std::basic_ostream &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; -- cgit v1.2.3