summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 17:50:35 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 17:50:35 +0000
commit9dcb780e23abdec3e348124b47cf78cbff167154 (patch)
tree4d0faf2bcb18e4811e51b79b3c3fa56d58022566 /lib/CodeGen
parent82db0696a10be17ebbebdabea1a08d0668d07ea3 (diff)
downloadllvm-9dcb780e23abdec3e348124b47cf78cbff167154.tar.gz
llvm-9dcb780e23abdec3e348124b47cf78cbff167154.tar.bz2
llvm-9dcb780e23abdec3e348124b47cf78cbff167154.tar.xz
Remove dead var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index 3048602e12..bd25a1e893 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -147,7 +147,6 @@ void AsmPrinter::SetupMachineFunction(MachineFunction &MF) {
void AsmPrinter::EmitConstantPool(MachineConstantPool *MCP) {
const std::vector<MachineConstantPoolEntry> &CP = MCP->getConstants();
if (CP.empty()) return;
- const TargetData *TD = TM.getTargetData();
SwitchToDataSection(ConstantPoolSection, 0);
EmitAlignment(MCP->getConstantPoolAlignment());