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
This commit is contained in:
Chris Lattner
2002-02-04 16:35:45 +00:00
parent 1164632c7e
commit f35f2fbbc2
4 changed files with 8 additions and 12 deletions

View File

@@ -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;}