diff options
author | Lang Hames <lhames@gmail.com> | 2009-10-03 04:31:31 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2009-10-03 04:31:31 +0000 |
commit | 6cc91e39c04c0c00756e7667f623f787c4851439 (patch) | |
tree | 5d92eb0738ad4f7309c74ad7ef32e2f0800efb16 /lib/CodeGen/PreAllocSplitting.cpp | |
parent | cc3b0650f1feec45d1a2890b20c05c4b325f1788 (diff) |
Oops. Renamed remaining MachineInstrIndex references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PreAllocSplitting.cpp')
-rw-r--r-- | lib/CodeGen/PreAllocSplitting.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index dbafcc017b..f012eb4d32 100644 --- a/lib/CodeGen/PreAllocSplitting.cpp +++ b/lib/CodeGen/PreAllocSplitting.cpp @@ -83,7 +83,7 @@ namespace { DenseMap<unsigned, int> IntervalSSMap; // Def2SpillMap - A map from a def instruction index to spill index. - DenseMap<LiveIndex, MachineInstrIndex> Def2SpillMap; + DenseMap<LiveIndex, LiveIndex> Def2SpillMap; public: static char ID; @@ -142,10 +142,10 @@ namespace { int CreateSpillStackSlot(unsigned, const TargetRegisterClass *); bool IsAvailableInStack(MachineBasicBlock*, unsigned, - LiveIndex, MachineInstrIndex, + LiveIndex, LiveIndex, LiveIndex&, int&) const; - void UpdateSpillSlotInterval(VNInfo*, LiveIndex, MachineInstrIndex); + void UpdateSpillSlotInterval(VNInfo*, LiveIndex, LiveIndex); bool SplitRegLiveInterval(LiveInterval*); @@ -363,7 +363,7 @@ PreAllocSplitting::IsAvailableInStack(MachineBasicBlock *DefMBB, DenseMap<unsigned, int>::iterator I = IntervalSSMap.find(Reg); if (I == IntervalSSMap.end()) return false; - DenseMap<LiveIndex, MachineInstrIndex>::iterator + DenseMap<LiveIndex, LiveIndex>::iterator II = Def2SpillMap.find(DefIndex); if (II == Def2SpillMap.end()) return false; |