Skip to content

Commit f2c6add

Browse files
committed
[MC] Remove remnant code related to pending labels
Follow-up to 485d7ea
1 parent 4c79fac commit f2c6add

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

llvm/include/llvm/MC/MCSection.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,6 @@ class MCSection {
115115
// subsections.
116116
SmallVector<std::pair<unsigned, FragList>, 1> Subsections;
117117

118-
/// State for tracking labels that don't yet have Fragments
119-
struct PendingLabel {
120-
MCSymbol* Sym;
121-
unsigned Subsection;
122-
PendingLabel(MCSymbol* Sym, unsigned Subsection = 0)
123-
: Sym(Sym), Subsection(Subsection) {}
124-
};
125-
SmallVector<PendingLabel, 2> PendingLabels;
126-
127118
protected:
128119
// TODO Make Name private when possible.
129120
StringRef Name;
@@ -208,10 +199,6 @@ class MCSection {
208199
bool isVirtualSection() const { return IsVirtual; }
209200

210201
virtual StringRef getVirtualSectionKind() const;
211-
212-
/// Add a pending label for the requested subsection. This label will be
213-
/// associated with a fragment in flushPendingLabels()
214-
void addPendingLabel(MCSymbol* label, unsigned Subsection = 0);
215202
};
216203

217204
} // end namespace llvm

0 commit comments

Comments
 (0)