From cc26b91afb95448bc3bac07ca1f8a7fb23b0e80a Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 1 Mar 2017 21:02:47 +0000 Subject: [PATCH] LiveIntervalUnion: Remove unused functions; NFC Remove two unused functions that are in fact bad API and should not be called anyway. llvm-svn: 296674 --- llvm/include/llvm/CodeGen/LiveIntervalUnion.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h index 5aa3974e1b3b..da38085a30c1 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/llvm/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; }