forked from OSchip/llvm-project
Adapt to LLVM optimization remark interface change. NFC
llvm-svn: 282500
This commit is contained in:
parent
92e928c10a
commit
8f1e871088
|
@ -514,7 +514,7 @@ void BackendConsumer::EmitOptimizationMessage(
|
|||
|
||||
std::string Msg;
|
||||
raw_string_ostream MsgStream(Msg);
|
||||
MsgStream << D.getMsg().str();
|
||||
MsgStream << D.getMsg();
|
||||
|
||||
if (D.getHotness())
|
||||
MsgStream << " (hotness: " << *D.getHotness() << ")";
|
||||
|
|
Loading…
Reference in New Issue