[llvm] r188392 - Remove unused function.

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Aug 14 10:28:49 PDT 2013


Author: stoklund
Date: Wed Aug 14 12:28:49 2013
New Revision: 188392

URL: http://llvm.org/viewvc/llvm-project?rev=188392&view=rev
Log:
Remove unused function.

Patch by Matthias Braun!

Modified:
    llvm/trunk/include/llvm/CodeGen/LiveInterval.h

Modified: llvm/trunk/include/llvm/CodeGen/LiveInterval.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveInterval.h?rev=188392&r1=188391&r2=188392&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveInterval.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveInterval.h Wed Aug 14 12:28:49 2013
@@ -381,13 +381,6 @@ namespace llvm {
               SmallVectorImpl<VNInfo *> &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





More information about the llvm-commits mailing list