summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-28 19:19:07 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-28 19:19:07 +0000
commit4fe0e1908ecc28a59e8764d6f5b5460ecc4166a0 (patch)
treea3eb79e63871a1f5c9b7f010626bbe6c6dd263b2 /llvm/lib
parent4a5b4443711edbd4ea06447a76ee3b464df9f22e (diff)
downloadbcm5719-llvm-4fe0e1908ecc28a59e8764d6f5b5460ecc4166a0.tar.gz
bcm5719-llvm-4fe0e1908ecc28a59e8764d6f5b5460ecc4166a0.zip
Spring cleaning - Delete dead code.
llvm-svn: 155765
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index ac18843ac30..eb1e9762c5d 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/lib/CodeGen/LiveInterval.cpp
@@ -353,18 +353,6 @@ void LiveInterval::removeValNo(VNInfo *ValNo) {
markValNoForDeletion(ValNo);
}
-/// findDefinedVNInfo - Find the VNInfo defined by the specified
-/// index (register interval).
-VNInfo *LiveInterval::findDefinedVNInfoForRegInt(SlotIndex Idx) const {
- for (LiveInterval::const_vni_iterator i = vni_begin(), e = vni_end();
- i != e; ++i) {
- if ((*i)->def == Idx)
- return *i;
- }
-
- return 0;
-}
-
/// join - Join two live intervals (this, and other) together. This applies
/// mappings to the value numbers in the LHS/RHS intervals as specified. If
/// the intervals are not joinable, this aborts.
OpenPOWER on IntegriCloud