Skip to content

Commit 53e1c8b

Browse files
committed
AArch64MCExpr: Remove unused getSpecifier
1 parent c0b4a8e commit 53e1c8b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

-7
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)