mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 01:38:03 +00:00
Delete dead code. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71706a01b0
commit
93ecb891af
@ -55,7 +55,6 @@ namespace llvm {
|
||||
// Convenience routines to get label names for the beginning/end of a
|
||||
// section.
|
||||
virtual std::string getLabelBeginName() const = 0;
|
||||
virtual std::string getLabelEndName() const = 0;
|
||||
|
||||
/// isBaseAddressKnownZero - Return true if we know that this section will
|
||||
/// get a base address of zero. In cases where we know that this is true we
|
||||
|
@ -63,9 +63,6 @@ class MCSymbol;
|
||||
std::string getLabelBeginName() const override {
|
||||
return SectionName.str() + "_begin";
|
||||
}
|
||||
std::string getLabelEndName() const override {
|
||||
return SectionName.str() + "_end";
|
||||
}
|
||||
unsigned getCharacteristics() const { return Characteristics; }
|
||||
MCSymbol *getCOMDATSymbol() const { return COMDATSymbol; }
|
||||
int getSelection() const { return Selection; }
|
||||
|
@ -70,11 +70,6 @@ public:
|
||||
return (SectionName.str() + '_' + Group->getName() + "_begin").str();
|
||||
return SectionName.str() + "_begin";
|
||||
}
|
||||
std::string getLabelEndName() const override {
|
||||
if (Group)
|
||||
return (SectionName.str() + '_' + Group->getName() + "_end").str();
|
||||
return SectionName.str() + "_end";
|
||||
}
|
||||
unsigned getType() const { return Type; }
|
||||
unsigned getFlags() const { return Flags; }
|
||||
unsigned getEntrySize() const { return EntrySize; }
|
||||
|
@ -57,10 +57,6 @@ public:
|
||||
return StringRef(getSegmentName().str() + getSectionName().str() + "_begin");
|
||||
}
|
||||
|
||||
std::string getLabelEndName() const override {
|
||||
return StringRef(getSegmentName().str() + getSectionName().str() + "_end");
|
||||
}
|
||||
|
||||
unsigned getTypeAndAttributes() const { return TypeAndAttributes; }
|
||||
unsigned getStubSize() const { return Reserved2; }
|
||||
|
||||
|
@ -40,7 +40,6 @@ public:
|
||||
bool UseCodeAlign() const override { return false; }
|
||||
bool isVirtualSection() const override { return false; }
|
||||
std::string getLabelBeginName() const override { return ""; }
|
||||
std::string getLabelEndName() const override { return ""; }
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
Loading…
x
Reference in New Issue
Block a user