diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h index c4767a51b0944..b2aefa87f8742 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 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction { 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.