Moved index into BB to common graph class because its needed by ModuloSchedGraph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tanya Lattner
2003-08-28 15:30:40 +00:00
parent 14baebf4ee
commit 8dc9982e2e
4 changed files with 2 additions and 8 deletions

View File

@@ -26,7 +26,6 @@ class RefVec;
class SchedGraphNode : public SchedGraphNodeCommon {
int origIndexInBB; // original position of machine instr in BB
MachineBasicBlock *MBB;
const MachineInstr *MI;
@@ -46,7 +45,6 @@ public:
bool isDummyNode() const { return (MI == NULL); }
MachineBasicBlock &getMachineBasicBlock() const { return *MBB; }
int getOrigIndexInBB() const { return origIndexInBB; }
void print(std::ostream &os) const;
};