diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-28 19:19:07 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-28 19:19:07 +0000 |
commit | 4fe0e1908ecc28a59e8764d6f5b5460ecc4166a0 (patch) | |
tree | a3eb79e63871a1f5c9b7f010626bbe6c6dd263b2 /llvm/lib | |
parent | 4a5b4443711edbd4ea06447a76ee3b464df9f22e (diff) | |
download | bcm5719-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.cpp | 12 |
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. |