forked from OSchip/llvm-project
[MachinePipeliner] Remove redundant destructor. NFC.
llvm-svn: 295372
This commit is contained in:
parent
fb9503c080
commit
3f6260cab4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue