From: Matthias Braun Date: Wed, 1 Mar 2017 21:02:56 +0000 (+0000) Subject: LIU::Query: Remove unused getter; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14feb94314af8e233a27ab09f07cd99a1f98b9dd;p=llvm LIU::Query: Remove unused getter; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296676 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/LiveIntervalUnion.h b/include/llvm/CodeGen/LiveIntervalUnion.h index ab404c414c9..48229bf3a0c 100644 --- a/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/include/llvm/CodeGen/LiveIntervalUnion.h @@ -146,11 +146,6 @@ public: UserTag = UTag; } - LiveInterval &virtReg() const { - assert(VirtReg && "uninitialized"); - return *VirtReg; - } - // Does this live virtual register interfere with the union? bool checkInterference() { return collectInterferingVRegs(1); }