1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[MCA] Fix -Wunused-private-field warning after r362933. NFC

This should unbreak the buildbots.

llvm-svn: 362935
This commit is contained in:
Andrea Di Biagio 2019-06-10 13:33:54 +00:00
parent bb92764db4
commit 10cdaa9fca
2 changed files with 2 additions and 3 deletions

View File

@ -212,7 +212,7 @@ void DependencyGraph::addDependency(unsigned From, DependencyEdge &&Dep) {
BottleneckAnalysis::BottleneckAnalysis(const MCSubtargetInfo &sti,
MCInstPrinter &Printer,
ArrayRef<MCInst> S)
: STI(sti), MCIP(Printer), Tracker(STI.getSchedModel()), DG(S.size() * 3),
: STI(sti), Tracker(STI.getSchedModel()), DG(S.size() * 3),
Source(S), TotalCycles(0), PressureIncreasedBecauseOfResources(false),
PressureIncreasedBecauseOfRegisterDependencies(false),
PressureIncreasedBecauseOfMemoryDependencies(false),

View File

@ -164,7 +164,6 @@ public:
/// A view that collects and prints a few performance numbers.
class BottleneckAnalysis : public View {
const MCSubtargetInfo &STI;
MCInstPrinter &MCIP;
PressureTracker Tracker;
DependencyGraph DG;
@ -211,7 +210,7 @@ public:
void printView(raw_ostream &OS) const override;
#ifndef NDEBUG
void dump(raw_ostream &OS) const { DG.dump(OS, MCIP); }
void dump(raw_ostream &OS, MCInstPrinter &MCIP) const { DG.dump(OS, MCIP); }
#endif
};