[llvm-commits] [llvm] r101648 - /llvm/trunk/lib/Target/X86/X86ELFWriterInfo.cpp
Chris Lattner
sabre at nondot.org
Sat Apr 17 10:28:00 PDT 2010
Author: lattner
Date: Sat Apr 17 12:28:00 2010
New Revision: 101648
URL: http://llvm.org/viewvc/llvm-project?rev=101648&view=rev
Log:
remove a dead variable, PR6856
Modified:
llvm/trunk/lib/Target/X86/X86ELFWriterInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86ELFWriterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ELFWriterInfo.cpp?rev=101648&r1=101647&r2=101648&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ELFWriterInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ELFWriterInfo.cpp Sat Apr 17 12:28:00 2010
@@ -26,7 +26,6 @@
X86ELFWriterInfo::X86ELFWriterInfo(TargetMachine &TM)
: TargetELFWriterInfo(TM) {
- bool is64Bit = TM.getTargetData()->getPointerSizeInBits() == 64;
EMachine = is64Bit ? EM_X86_64 : EM_386;
}
More information about the llvm-commits
mailing list