Revert "Adapt to LLVM optimization remark interface change. NFC"

This reverts commit r282500.

llvm-svn: 282504
This commit is contained in:
Adam Nemet 2016-09-27 16:39:27 +00:00
parent cc2a3fa8e8
commit 95d0c628cf
1 changed files with 1 additions and 1 deletions

View File

@ -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() << ")";