Skip to content

Commit 6e2f63e

Browse files
MaskRaygithub-actions[bot]
authored andcommitted
Automerge: AArch64MCExpr: Remove unused getSpecifier
2 parents 8a40ae8 + 53e1c8b commit 6e2f63e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,6 @@ class AArch64AuthMCExpr final : public AArch64MCExpr {
229229
return E->getSpecifier() == VK_AUTH || E->getSpecifier() == VK_AUTHADDR;
230230
}
231231
};
232-
233-
// Getter for the legacy representation that encodes the relocation specifier in
234-
// MCSymbolRefExpr::SubclassData.
235-
static inline AArch64MCExpr::Specifier
236-
getSpecifier(const MCSymbolRefExpr *SRE) {
237-
return AArch64MCExpr::Specifier(SRE->getKind());
238-
}
239232
} // end namespace llvm
240233

241234
#endif

0 commit comments

Comments
 (0)