From: Jakob Stoklund Olesen Date: Wed, 14 Aug 2013 17:28:49 +0000 (+0000) Subject: Remove unused function. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=906968c53336490c021b624c94642b10d9541d2c;p=oota-llvm.git Remove unused function. Patch by Matthias Braun! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188392 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 251ef50fe06..f42bf8c08b1 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -381,13 +381,6 @@ namespace llvm { SmallVectorImpl &NewVNInfo, MachineRegisterInfo *MRI); - /// isInOneLiveRange - Return true if the range specified is entirely in the - /// a single LiveRange of the live interval. - bool isInOneLiveRange(SlotIndex Start, SlotIndex End) const { - const_iterator r = find(Start); - return r != end() && r->containsRange(Start, End); - } - /// True iff this live range is a single segment that lies between the /// specified boundaries, exclusively. Vregs live across a backedge are not /// considered local. The boundaries are expected to lie within an extended