Fix use of uninitialized value.

llvm-svn: 306188
This commit is contained in:
Rafael Espindola 2017-06-24 00:18:15 +00:00
parent aaea8ee628
commit 538da58dc5
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class MCValue {
int64_t Cst;
uint32_t RefKind;
public:
MCValue() : SymA(nullptr), SymB(nullptr), Cst(0), RefKind(0) {}
int64_t getConstant() const { return Cst; }
const MCSymbolRefExpr *getSymA() const { return SymA; }
const MCSymbolRefExpr *getSymB() const { return SymB; }