From 4fe0e1908ecc28a59e8764d6f5b5460ecc4166a0 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Sat, 28 Apr 2012 19:19:07 +0000 Subject: Spring cleaning - Delete dead code. llvm-svn: 155765 --- llvm/lib/CodeGen/LiveInterval.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'llvm/lib/CodeGen') 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. -- cgit v1.2.3