diff options
| author | Clement Courbet <courbet@google.com> | 2018-10-03 12:48:50 +0000 |
|---|---|---|
| committer | Clement Courbet <courbet@google.com> | 2018-10-03 12:48:50 +0000 |
| commit | 5a768ddd449f51092f68625579b8b478a61be4c5 (patch) | |
| tree | 1e7f875b02466f74f87a0fab5dee06576763a745 /llvm/tools/llvm-exegesis/lib/Analysis.cpp | |
| parent | 8a5a6be47a3af480bf94e9881f16bb31b6c2ccef (diff) | |
| download | bcm5719-llvm-5a768ddd449f51092f68625579b8b478a61be4c5.tar.gz bcm5719-llvm-5a768ddd449f51092f68625579b8b478a61be4c5.zip | |
[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
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Analysis.cpp')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/Analysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Analysis.cpp b/llvm/tools/llvm-exegesis/lib/Analysis.cpp index cb5d1984c31..eaacb5b1d65 100644 --- a/llvm/tools/llvm-exegesis/lib/Analysis.cpp +++ b/llvm/tools/llvm-exegesis/lib/Analysis.cpp @@ -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; |

