summaryrefslogtreecommitdiff
path: root/lib/Target/TargetInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-17 00:11:35 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-17 00:11:35 +0000
commitd9e9efb253978ce4a3683085d1f75c5734143bf9 (patch)
tree559d8dc2cc79b88bfcf3dd9f05d3760f07f7ce8d /lib/Target/TargetInstrInfo.cpp
parente425956b7258eef15a83f0d98e43a67dc7703965 (diff)
downloadllvm-d9e9efb253978ce4a3683085d1f75c5734143bf9.tar.gz
llvm-d9e9efb253978ce4a3683085d1f75c5734143bf9.tar.bz2
llvm-d9e9efb253978ce4a3683085d1f75c5734143bf9.tar.xz
Remove. Not needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetInstrInfo.cpp')
-rw-r--r--lib/Target/TargetInstrInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp
index 20f32a2ad9..d1413510ff 100644
--- a/lib/Target/TargetInstrInfo.cpp
+++ b/lib/Target/TargetInstrInfo.cpp
@@ -84,7 +84,3 @@ bool TargetInstrInfo::PredicateInstruction(MachineInstr *MI,
}
return MadeChange;
}
-
-unsigned TargetInstrInfo::getBlockSize(MachineBasicBlock *MBB) const {
- return (unsigned)std::distance(MBB->begin(), MBB->end());
-}