diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-08 18:50:24 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-08 18:50:24 +0000 |
commit | 4a4bc3fba61dbb513f7213c7aa93faa30d18e0a2 (patch) | |
tree | 5a639ffbd7d57a5f51bab589f4ac15d68be2f226 | |
parent | eb92330c1d431a7ecbc31609b926a49c89be1d04 (diff) | |
download | external_llvm-4a4bc3fba61dbb513f7213c7aa93faa30d18e0a2.zip external_llvm-4a4bc3fba61dbb513f7213c7aa93faa30d18e0a2.tar.gz external_llvm-4a4bc3fba61dbb513f7213c7aa93faa30d18e0a2.tar.bz2 |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113386 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 4 | ||||
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 11 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index a8d196e..3b5844f 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -447,10 +447,6 @@ namespace llvm { /// index (register interval) or defined VNInfo *findDefinedVNInfoForRegInt(SlotIndex Idx) const; - /// findDefinedVNInfo - Find the VNInfo that's defined by the specified - /// register (stack inteval only). - VNInfo *findDefinedVNInfoForStackInt(unsigned Reg) const; - /// overlaps - Return true if the intersection of the two live intervals is /// not empty. diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 21b0bc0..03d8e95 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -443,17 +443,6 @@ VNInfo *LiveInterval::findDefinedVNInfoForRegInt(SlotIndex Idx) const { return 0; } -/// findDefinedVNInfo - Find the VNInfo defined by the specified -/// register (stack inteval). -VNInfo *LiveInterval::findDefinedVNInfoForStackInt(unsigned reg) const { - for (LiveInterval::const_vni_iterator i = vni_begin(), e = vni_end(); - i != e; ++i) { - if ((*i)->getReg() == reg) - 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. |