aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86ELFWriterInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-17 17:28:00 +0000
committerChris Lattner <sabre@nondot.org>2010-04-17 17:28:00 +0000
commit89f94926b0ffd7da7f5fea80ee69e8891b51f4d3 (patch)
tree4cac864ff8a851ca91d41cdabe19a8810e007779 /lib/Target/X86/X86ELFWriterInfo.cpp
parent0fb372a497705e65908ef4b733b9679e8ca07a99 (diff)
remove a dead variable, PR6856
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ELFWriterInfo.cpp')
-rw-r--r--lib/Target/X86/X86ELFWriterInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ELFWriterInfo.cpp b/lib/Target/X86/X86ELFWriterInfo.cpp
index 1597d2b31d..f84995dcf3 100644
--- a/lib/Target/X86/X86ELFWriterInfo.cpp
+++ b/lib/Target/X86/X86ELFWriterInfo.cpp
@@ -26,7 +26,6 @@ using namespace llvm;
X86ELFWriterInfo::X86ELFWriterInfo(TargetMachine &TM)
: TargetELFWriterInfo(TM) {
- bool is64Bit = TM.getTargetData()->getPointerSizeInBits() == 64;
EMachine = is64Bit ? EM_X86_64 : EM_386;
}