TargetAsmInfo::getAddressSize() was incorrect for x86-64 and 64-bit targets
authorDan Gohman <gohman@apple.com>
Thu, 27 Sep 2007 23:12:31 +0000 (23:12 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 27 Sep 2007 23:12:31 +0000 (23:12 +0000)
commit82482944edd810c7a1803d6694d435adf341e611
tree9508a5ae6e0d6c76556f84002af9645be828f861
parentfc3282221f90c626d80292327213e2badc3de86b
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42419 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetAsmInfo.h
lib/CodeGen/DwarfWriter.cpp
lib/Target/PowerPC/PPCTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp
lib/Target/X86/X86RegisterInfo.cpp