llvm.org GIT mirror llvm / 12b7144
[llvm-exegesis][NFC] Revert rL343682 "Fix unused variable warning". That was not the proper fix: the variable is used in debug mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343685 91177308-0d34-0410-b5e6-96231b3b80d8 Clement Courbet 1 year, 9 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
141141
142142 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
143143 const llvm::MCSchedClassDesc *const SCDesc =
144 SchedModel.getSchedClassDesc(SchedClassId);
144 SubtargetInfo_->getSchedModel().getSchedClassDesc(SchedClassId);
145145 writeEscaped(OS, SCDesc->Name);
146146 #else
147147 OS << SchedClassId;