[MachinePipeliner] Remove redundant destructor. NFC.

llvm-svn: 295372
This commit is contained in:
Benjamin Kramer 2017-02-16 20:26:51 +00:00
parent fb9503c080
commit 3f6260cab4
1 changed files with 1 additions and 8 deletions

View File

@ -595,7 +595,7 @@ private:
/// Virtual register information.
MachineRegisterInfo &MRI;
DFAPacketizer *Resources;
std::unique_ptr<DFAPacketizer> Resources;
public:
SMSchedule(MachineFunction *mf)
@ -606,13 +606,6 @@ public:
InitiationInterval = 0;
}
~SMSchedule() {
ScheduledInstrs.clear();
InstrToCycle.clear();
RegToStageDiff.clear();
delete Resources;
}
void reset() {
ScheduledInstrs.clear();
InstrToCycle.clear();