summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-27 23:12:31 +0000
committerDan Gohman <gohman@apple.com>2007-09-27 23:12:31 +0000
commita1d46c7d0aec896d62f2995418faaba7dcffae07 (patch)
treef7a44a8292573620e964f618b9d7c8eab3758f42 /llvm/lib/Target/TargetAsmInfo.cpp
parent613afce4301918c5f3504c61306211fd9aab974f (diff)
downloadbcm5719-llvm-a1d46c7d0aec896d62f2995418faaba7dcffae07.tar.gz
bcm5719-llvm-a1d46c7d0aec896d62f2995418faaba7dcffae07.zip
TargetAsmInfo::getAddressSize() was incorrect for x86-64 and 64-bit targets
other than PPC64. Instead of fixing it, just remove it and fix all the places that use it to use TargetData::getPointerSize() instead, as there aren't very many. Most of the references were in DwarfWriter.cpp. llvm-svn: 42419
Diffstat (limited to 'llvm/lib/Target/TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index e2683441462..fd2e6fbbc11 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/lib/Target/TargetAsmInfo.cpp
@@ -25,7 +25,6 @@ TargetAsmInfo::TargetAsmInfo() :
TLSDataSection("\t.section .tdata,\"awT\",@progbits"),
TLSBSSSection("\t.section .tbss,\"awT\",@nobits"),
ZeroFillDirective(0),
- AddressSize(4),
NeedsSet(false),
MaxInstLength(4),
PCSymbol("$"),
OpenPOWER on IntegriCloud