aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/InstrSched/SchedGraph.h
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2003-08-28 15:30:40 +0000
committerTanya Lattner <tonic@nondot.org>2003-08-28 15:30:40 +0000
commit8dc9982e2e65fa2a2105c31d389f09bae7e5fc7c (patch)
tree23adff44b69bcb62b94b4c0b3316b8b295193919 /lib/CodeGen/InstrSched/SchedGraph.h
parent14baebf4ee48b2c34b3a2eec972f89e1c8806263 (diff)
downloadexternal_llvm-8dc9982e2e65fa2a2105c31d389f09bae7e5fc7c.zip
external_llvm-8dc9982e2e65fa2a2105c31d389f09bae7e5fc7c.tar.gz
external_llvm-8dc9982e2e65fa2a2105c31d389f09bae7e5fc7c.tar.bz2
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
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedGraph.h')
-rw-r--r--lib/CodeGen/InstrSched/SchedGraph.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/InstrSched/SchedGraph.h b/lib/CodeGen/InstrSched/SchedGraph.h
index 441aad1..4da761f 100644
--- a/lib/CodeGen/InstrSched/SchedGraph.h
+++ b/lib/CodeGen/InstrSched/SchedGraph.h
@@ -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;
};