From: Matt Arsenault Date: Fri, 15 Apr 2022 00:16:15 +0000 (-0400) Subject: MachineFunction: Remove unused field X-Git-Tag: upstream/15.0.7~10352 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4975c3a9494c37997774bf9254ff79a85c5e5c7f;p=platform%2Fupstream%2Fllvm.git MachineFunction: Remove unused field --- diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h index c4767a5..b2aefa8 100644 --- a/llvm/include/llvm/CodeGen/MachineFunction.h +++ b/llvm/include/llvm/CodeGen/MachineFunction.h @@ -277,12 +277,6 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction { // numbered and this vector keeps track of the mapping from ID's to MBB's. std::vector MBBNumbering; - // Unary encoding of basic block symbols is used to reduce size of ".strtab". - // Basic block number 'i' gets a prefix of length 'i'. The ith character also - // denotes the type of basic block number 'i'. Return blocks are marked with - // 'r', landing pads with 'l' and regular blocks with 'a'. - std::vector BBSectionsSymbolPrefix; - // Pool-allocate MachineFunction-lifetime and IR objects. BumpPtrAllocator Allocator; @@ -1220,10 +1214,6 @@ public: void copyCallSiteInfo(const MachineInstr *Old, const MachineInstr *New); - const std::vector &getBBSectionsSymbolPrefix() const { - return BBSectionsSymbolPrefix; - } - /// Move the call site info from \p Old to \New call site info. This function /// is used when we are replacing one call instruction with another one to /// the same callee.