diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-01-22 21:16:09 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-01-22 21:16:09 +0000 | 
| commit | dadbdfff07596fc3b48cc1e735181b9b8c893f67 (patch) | |
| tree | b27dffbc94bfeb477e1ff5e484d34d409ec05813 /lib/CodeGen/AsmPrinter/DebugLocEntry.h | |
| parent | dfab1a98e00a97e03f1d59a3cbdc33ced8622a9c (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DebugLocEntry.h')
| -rw-r--r-- | lib/CodeGen/AsmPrinter/DebugLocEntry.h | 13 | 
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/lib/CodeGen/AsmPrinter/DebugLocEntry.h index bbe53249a084..b60ab9151ef2 100644 --- a/lib/CodeGen/AsmPrinter/DebugLocEntry.h +++ b/lib/CodeGen/AsmPrinter/DebugLocEntry.h @@ -93,18 +93,7 @@ public:    /// variable, merge them by appending Next's values to the current    /// list of values.    /// Return true if the merge was successful. -  bool MergeValues(const DebugLocEntry &Next) { -    if (Begin == Next.Begin) { -      auto *Expr = cast_or_null<DIExpression>(Values[0].Expression); -      auto *NextExpr = cast_or_null<DIExpression>(Next.Values[0].Expression); -      if (Expr->isBitPiece() && NextExpr->isBitPiece()) { -        addValues(Next.Values); -        End = Next.End; -        return true; -      } -    } -    return false; -  } +  bool MergeValues(const DebugLocEntry &Next);    /// \brief Attempt to merge this DebugLocEntry with Next and return    /// true if the merge was successful. Entries can be merged if they  | 
