summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.cpp
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
commitf4aee4c50e2ce46946f71bbb7d7a849b054018f7 (patch)
tree22b6a01f888ecdec04419223c09928419ea18538 /lib/CodeGen/LiveInterval.cpp
parent18883037a98240a7831c0d7c01dbe502fc5cfbd9 (diff)
downloadllvm-f4aee4c50e2ce46946f71bbb7d7a849b054018f7.tar.gz
llvm-f4aee4c50e2ce46946f71bbb7d7a849b054018f7.tar.bz2
llvm-f4aee4c50e2ce46946f71bbb7d7a849b054018f7.tar.xz
Spring cleaning - Delete dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r--lib/CodeGen/LiveInterval.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp
index ac18843ac3..eb1e9762c5 100644
--- a/lib/CodeGen/LiveInterval.cpp
+++ b/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.