diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp b/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp index b4dd41bbb810..42a0967bce3f 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp @@ -329,7 +329,7 @@ private: EntryValueKind, EntryValueBackupKind, EntryValueCopyBackupKind - } EVKind; + } EVKind = EntryValueLocKind::NonEntryValueKind; /// The value location. Stored separately to avoid repeatedly /// extracting it from MI. @@ -397,8 +397,7 @@ private: VarLoc(const MachineInstr &MI, LexicalScopes &LS) : Var(MI.getDebugVariable(), MI.getDebugExpression(), MI.getDebugLoc()->getInlinedAt()), - Expr(MI.getDebugExpression()), MI(MI), - EVKind(EntryValueLocKind::NonEntryValueKind) { + Expr(MI.getDebugExpression()), MI(MI) { assert(MI.isDebugValue() && "not a DBG_VALUE"); assert((MI.isDebugValueList() || MI.getNumOperands() == 4) && "malformed DBG_VALUE"); |