[llvm] 4593811 - [DWARF] Remove getMaxLineIncrementForSpecialOpcode (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 12 09:54:02 PDT 2021
Author: Kazu Hirata
Date: 2021-08-12T09:53:49-07:00
New Revision: 45938114b247a773d1a9f4d711b9937062e03cda
URL: https://github.com/llvm/llvm-project/commit/45938114b247a773d1a9f4d711b9937062e03cda
DIFF: https://github.com/llvm/llvm-project/commit/45938114b247a773d1a9f4d711b9937062e03cda.diff
LOG: [DWARF] Remove getMaxLineIncrementForSpecialOpcode (NFC)
The function was introduced without a use on Sep 16, 2011 in
commit 5acab501de113acb4c0d28b48e76c27631ba0904.
Added:
Modified:
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
index d1d65372740b4..ee15b6d4112de 100644
--- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
+++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
@@ -110,10 +110,6 @@ class DWARFDebugLine {
/// 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 &
More information about the llvm-commits
mailing list