Revert "Adapt to LLVM optimization remark interface change. NFC"
This reverts commit r282500. llvm-svn: 282504
This commit is contained in:
parent
cc2a3fa8e8
commit
95d0c628cf
|
@ -514,7 +514,7 @@ void BackendConsumer::EmitOptimizationMessage(
|
||||||
|
|
||||||
std::string Msg;
|
std::string Msg;
|
||||||
raw_string_ostream MsgStream(Msg);
|
raw_string_ostream MsgStream(Msg);
|
||||||
MsgStream << D.getMsg();
|
MsgStream << D.getMsg().str();
|
||||||
|
|
||||||
if (D.getHotness())
|
if (D.getHotness())
|
||||||
MsgStream << " (hotness: " << *D.getHotness() << ")";
|
MsgStream << " (hotness: " << *D.getHotness() << ")";
|
||||||
|
|
Loading…
Reference in New Issue