mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[NFC] Fixed unused function warning
llvm-svn: 338986
This commit is contained in:
parent
fd20113dad
commit
7d29076c15
@ -388,11 +388,13 @@ RemarkT &operator<<(RemarkT &&R, const InlineCost &IC) {
|
||||
return R;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
static std::string inlineCostStr(const InlineCost &IC) {
|
||||
std::stringstream Remark;
|
||||
Remark << IC;
|
||||
return Remark.str();
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Return the cost only if the inliner should attempt to inline at the given
|
||||
/// CallSite. If we return the cost, we will emit an optimisation remark later
|
||||
|
Loading…
Reference in New Issue
Block a user