mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -81,17 +81,17 @@ namespace llvm {
|
||||
delete ResourcesModel;
|
||||
}
|
||||
|
||||
bool isBottomUp() const { return false; }
|
||||
bool isBottomUp() const override { return false; }
|
||||
|
||||
void initNodes(std::vector<SUnit> &sunits);
|
||||
void initNodes(std::vector<SUnit> &sunits) override;
|
||||
|
||||
void addNode(const SUnit *SU) {
|
||||
void addNode(const SUnit *SU) override {
|
||||
NumNodesSolelyBlocking.resize(SUnits->size(), 0);
|
||||
}
|
||||
|
||||
void updateNode(const SUnit *SU) {}
|
||||
void updateNode(const SUnit *SU) override {}
|
||||
|
||||
void releaseState() {
|
||||
void releaseState() override {
|
||||
SUnits = 0;
|
||||
}
|
||||
|
||||
@ -116,18 +116,18 @@ namespace llvm {
|
||||
signed regPressureDelta(SUnit *SU, bool RawPressure = false);
|
||||
signed rawRegPressureDelta (SUnit *SU, unsigned RCId);
|
||||
|
||||
bool empty() const { return Queue.empty(); }
|
||||
bool empty() const override { return Queue.empty(); }
|
||||
|
||||
virtual void push(SUnit *U);
|
||||
void push(SUnit *U) override;
|
||||
|
||||
virtual SUnit *pop();
|
||||
SUnit *pop() override;
|
||||
|
||||
virtual void remove(SUnit *SU);
|
||||
void remove(SUnit *SU) override;
|
||||
|
||||
virtual void dump(ScheduleDAG* DAG) const;
|
||||
void dump(ScheduleDAG* DAG) const override;
|
||||
|
||||
/// scheduledNode - Main resource tracking point.
|
||||
void scheduledNode(SUnit *Node);
|
||||
void scheduledNode(SUnit *Node) override;
|
||||
bool isResourceAvailable(SUnit *SU);
|
||||
void reserveResources(SUnit *SU);
|
||||
|
||||
|
Reference in New Issue
Block a user