aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormingmingl <mingmingl@google.com>2025-01-27 15:47:32 -0800
committermingmingl <mingmingl@google.com>2025-01-27 15:47:32 -0800
commit934532d8b18adbe3c1d671d2287abd23885b7eaa (patch)
tree73ee99507ce2b7278076484001b9ebe0d4891bae
parentfa6e976602a41dad849d6e99692db437d328354b (diff)
downloadllvm-934532d8b18adbe3c1d671d2287abd23885b7eaa.zip
llvm-934532d8b18adbe3c1d671d2287abd23885b7eaa.tar.gz
llvm-934532d8b18adbe3c1d671d2287abd23885b7eaa.tar.bz2
remove unused var after refactoring
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index c219156..e77abf4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -2853,7 +2853,6 @@ void AsmPrinter::emitConstantPool() {
// Print assembly representations of the jump tables used by the current
// function.
void AsmPrinter::emitJumpTableInfo() {
- const DataLayout &DL = MF->getDataLayout();
const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo();
if (!MJTI) return;
if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_Inline) return;