From 45938114b247a773d1a9f4d711b9937062e03cda Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 12 Aug 2021 09:53:49 -0700 Subject: [PATCH] [DWARF] Remove getMaxLineIncrementForSpecialOpcode (NFC) The function was introduced without a use on Sep 16, 2011 in commit 5acab501de113acb4c0d28b48e76c27631ba0904. --- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h index d1d6537..ee15b6d 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h @@ -110,10 +110,6 @@ public: /// Length of the prologue in bytes. uint64_t getLength() const; - int32_t getMaxLineIncrementForSpecialOpcode() const { - return LineBase + (int8_t)LineRange - 1; - } - /// Get DWARF-version aware access to the file name entry at the provided /// index. const llvm::DWARFDebugLine::FileNameEntry & -- 2.7.4