[llvm-exegesis][NFC] Revert rL343682 "Fix unused variable warning".

That was not the proper fix: the variable is used in debug mode.

llvm-svn: 343685
This commit is contained in:
Clement Courbet 2018-10-03 12:48:50 +00:00
parent 8a5a6be47a
commit 5a768ddd44
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ void Analysis::printInstructionRowCsv(const size_t PointId,
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
const llvm::MCSchedClassDesc *const SCDesc =
SchedModel.getSchedClassDesc(SchedClassId);
SubtargetInfo_->getSchedModel().getSchedClassDesc(SchedClassId);
writeEscaped<kEscapeCsv>(OS, SCDesc->Name);
#else
OS << SchedClassId;