[AArch64] Delete unused VariantKind in AArch64MCExpr

llvm-svn: 361844
This commit is contained in:
Fangrui Song 2019-05-28 16:11:56 +00:00
parent 561fcc0d63
commit 448a79d123
2 changed files with 1 additions and 4 deletions

View File

@ -79,8 +79,7 @@ StringRef AArch64MCExpr::getVariantKindName() const {
}
void AArch64MCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const {
if (getKind() != VK_NONE)
OS << getVariantKindName();
OS << getVariantKindName();
Expr->print(OS, MAI);
}

View File

@ -22,8 +22,6 @@ namespace llvm {
class AArch64MCExpr : public MCTargetExpr {
public:
enum VariantKind {
VK_NONE = 0x000,
// Symbol locations specifying (roughly speaking) what calculation should be
// performed to construct the final address for the relocated
// symbol. E.g. direct, via the GOT, ...