forked from OSchip/llvm-project
[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:
parent
8a5a6be47a
commit
5a768ddd44
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue