1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

X86Operand.h - fix uninitialized variable warnings in constructor. NFCI.

This commit is contained in:
Simon Pilgrim 2021-06-06 15:24:46 +01:00
parent 7d37c257aa
commit 1271ac390e

View File

@ -78,7 +78,8 @@ struct X86Operand final : public MCParsedAsmOperand {
};
X86Operand(KindTy K, SMLoc Start, SMLoc End)
: Kind(K), StartLoc(Start), EndLoc(End), CallOperand(false) {}
: Kind(K), StartLoc(Start), EndLoc(End), OpDecl(nullptr),
AddressOf(false), CallOperand(false) {}
StringRef getSymName() override { return SymName; }
void *getOpDecl() override { return OpDecl; }