projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb372a
)
remove a dead variable, PR6856
author
Chris Lattner
<sabre@nondot.org>
Sat, 17 Apr 2010 17:28:00 +0000
(17:28 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 17 Apr 2010 17:28:00 +0000
(17:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101648
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ELFWriterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ELFWriterInfo.cpp
b/lib/Target/X86/X86ELFWriterInfo.cpp
index 1597d2b31d2223e92dd801ad9d7d92c059efc087..f84995dcf3424e3ea4d510660c0ec2f6d004376e 100644
(file)
--- 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;
}