diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 320e682..35cf2533 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -972,7 +972,7 @@ void UserValue::extendDef( if (Segment->end < Stop) { Stop = Segment->end; Kills = {Stop, {LII.first}}; - } else if (Segment->end == Stop && Kills.hasValue()) { + } else if (Segment->end == Stop && Kills) { // If multiple locations end at the same place, track all of them in // Kills. Kills->second.push_back(LII.first); |