From: Matthias Braun Date: Wed, 1 Mar 2017 21:02:47 +0000 (+0000) Subject: LiveIntervalUnion: Remove unused functions; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=502404cf08ec835acb0ef41d29d85576d0e5d27e;p=llvm LiveIntervalUnion: Remove unused functions; NFC 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 --- diff --git a/include/llvm/CodeGen/LiveIntervalUnion.h b/include/llvm/CodeGen/LiveIntervalUnion.h index 5aa3974e1b3..da38085a30c 100644 --- a/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/include/llvm/CodeGen/LiveIntervalUnion.h @@ -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; }