mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
Fix use of uninitialized value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72786af0ac
commit
8eec1b8358
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user