]> granicus.if.org Git - llvm/commitdiff
LiveIntervalUnion: Remove unused functions; NFC
authorMatthias Braun <matze@braunis.de>
Wed, 1 Mar 2017 21:02:47 +0000 (21:02 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 1 Mar 2017 21:02:47 +0000 (21:02 +0000)
Remove two unused functions that are in fact bad API and should not be
called anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296674 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveIntervalUnion.h

index 5aa3974e1b3bb12848a619f99ff5a95719bb9fc0..da38085a30c12fb0b3e55df26c27bfd746011607 100644 (file)
@@ -87,15 +87,9 @@ public:
 
   // Add a live virtual register to this union and merge its segments.
   void unify(LiveInterval &VirtReg, const LiveRange &Range);
-  void unify(LiveInterval &VirtReg) {
-    unify(VirtReg, VirtReg);
-  }
 
   // Remove a live virtual register's segments from this union.
   void extract(LiveInterval &VirtReg, const LiveRange &Range);
-  void extract(LiveInterval &VirtReg) {
-    extract(VirtReg, VirtReg);
-  }
 
   // Remove all inserted virtual registers.
   void clear() { Segments.clear(); ++Tag; }