diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-25 18:01:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-25 18:01:30 +0000 |
commit | a0b0219a9e13ecd193eee604ab22ffc74b516b02 (patch) | |
tree | 9b9bc09d416ddc6f2e711ab444fb602e6317743a /lib/CodeGen/SlotIndexes.cpp | |
parent | b56e4115ed33dae56108ed4ce88ee3a0e0392bfc (diff) | |
download | llvm-a0b0219a9e13ecd193eee604ab22ffc74b516b02.tar.gz llvm-a0b0219a9e13ecd193eee604ab22ffc74b516b02.tar.bz2 llvm-a0b0219a9e13ecd193eee604ab22ffc74b516b02.tar.xz |
Remove more dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SlotIndexes.cpp')
-rw-r--r-- | lib/CodeGen/SlotIndexes.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/SlotIndexes.cpp b/lib/CodeGen/SlotIndexes.cpp index 26cf259441..c8c3fb37ad 100644 --- a/lib/CodeGen/SlotIndexes.cpp +++ b/lib/CodeGen/SlotIndexes.cpp @@ -62,7 +62,6 @@ bool SlotIndexes::runOnMachineFunction(MachineFunction &fn) { assert(mi2iMap.empty() && "MachineInstr -> Index mapping non-empty at initial numbering?"); - functionSize = 0; unsigned index = 0; MBBRanges.resize(mf->getNumBlockIDs()); idx2MBBMap.reserve(mf->size()); @@ -89,8 +88,6 @@ bool SlotIndexes::runOnMachineFunction(MachineFunction &fn) { // Save this base index in the maps. mi2iMap.insert(std::make_pair(mi, SlotIndex(&indexList.back(), SlotIndex::Slot_Block))); - - ++functionSize; } // We insert one blank instructions between basic blocks. |