Skip to content

Commit

Permalink
[X86] Remove CallOperand in X86Operand (NFC)
Browse files Browse the repository at this point in the history
This field seems to be unused for at least one year.
  • Loading branch information
kazutakahirata committed Oct 27, 2021
1 parent 910aeed commit cc73310
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Target/X86/AsmParser/X86Operand.h
Expand Up @@ -34,7 +34,6 @@ struct X86Operand final : public MCParsedAsmOperand {
StringRef SymName;
void *OpDecl;
bool AddressOf;
bool CallOperand;

struct TokOp {
const char *Data;
Expand Down Expand Up @@ -79,7 +78,7 @@ struct X86Operand final : public MCParsedAsmOperand {

X86Operand(KindTy K, SMLoc Start, SMLoc End)
: Kind(K), StartLoc(Start), EndLoc(End), OpDecl(nullptr),
AddressOf(false), CallOperand(false) {}
AddressOf(false) {}

StringRef getSymName() override { return SymName; }
void *getOpDecl() override { return OpDecl; }
Expand Down

0 comments on commit cc73310

Please sign in to comment.