diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-04 16:35:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-04 16:35:45 +0000 |
commit | f35f2fbbc29b593acfafb85846c4d83b90a505e7 (patch) | |
tree | c7c476029a752fe1e50059da69f2d6dfd64cd6ed /lib/CodeGen/InstrSched/SchedPriorities.h | |
parent | 1164632c7e67e9a3bf6b0b6e582f1d5124e348f7 (diff) |
Remove dependence on BBLiveVar from InstrScheduling
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedPriorities.h')
-rw-r--r-- | lib/CodeGen/InstrSched/SchedPriorities.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h index 78b685dadd..884a049b94 100644 --- a/lib/CodeGen/InstrSched/SchedPriorities.h +++ b/lib/CodeGen/InstrSched/SchedPriorities.h @@ -27,7 +27,7 @@ #include "llvm/Target/MachineSchedInfo.h" #include "Support/CommandLine.h" #include <list> - +#include <hash_set> class Method; class MachineInstr; class SchedulingManager; @@ -76,10 +76,9 @@ public: typedef std::list<NodeDelayPair*>::const_iterator const_iterator; public: - /*ctor*/ NodeHeap () : std::list<NodeDelayPair*>(), _size(0) {} - /*dtor*/ ~NodeHeap () {} + NodeHeap() : _size(0) {} - inline unsigned int size () const { return _size; } + inline unsigned size() const { return _size; } const SchedGraphNode* getNode (const_iterator i) const { return (*i)->node; } cycles_t getDelay(const_iterator i) const { return (*i)->delay;} |