forked from OSchip/llvm-project
[AArch64] Delete unused VariantKind in AArch64MCExpr
llvm-svn: 361844
This commit is contained in:
parent
561fcc0d63
commit
448a79d123
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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, ...
|
||||
|
|
Loading…
Reference in New Issue