mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
unique_ptrify ResourcePriorityQueue::ResourceModel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -64,7 +64,7 @@ namespace llvm {
|
||||
/// ResourcesModel - Represents VLIW state.
|
||||
/// Not limited to VLIW targets per say, but assumes
|
||||
/// definition of DFA by a target.
|
||||
DFAPacketizer *ResourcesModel;
|
||||
std::unique_ptr<DFAPacketizer> ResourcesModel;
|
||||
|
||||
/// Resource model - packet/bundle model. Purely
|
||||
/// internal at the time.
|
||||
@ -77,10 +77,6 @@ namespace llvm {
|
||||
public:
|
||||
ResourcePriorityQueue(SelectionDAGISel *IS);
|
||||
|
||||
~ResourcePriorityQueue() {
|
||||
delete ResourcesModel;
|
||||
}
|
||||
|
||||
bool isBottomUp() const override { return false; }
|
||||
|
||||
void initNodes(std::vector<SUnit> &sunits) override;
|
||||
|
Reference in New Issue
Block a user