Move the getInlineAsmLength virtual method from TAI to TII, where
authorChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 05:20:37 +0000 (05:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 05:20:37 +0000 (05:20 +0000)
commitd90183d25dcbc0eabde56319fed4e8d6ace2e6eb
tree2265d4015a9ba0966c2bd58c8535a3d0f59bc4cd
parentb6bbfebdc683a6a123410bca1175e14d264d4bc2
Move the getInlineAsmLength virtual method from TAI to TII, where
the only real caller (GetFunctionSizeInBytes) uses it.

The custom ARM implementation of this is basically reimplementing
an assembler poorly for negligible gain.  It should be removed
IMNSHO, but I'll leave that to ARMish folks to decide.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77877 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/Target/TargetAsmInfo.h
include/llvm/Target/TargetInstrInfo.h
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h
lib/Target/ARM/ARMTargetAsmInfo.cpp
lib/Target/ARM/ARMTargetAsmInfo.h
lib/Target/ARM/Thumb1InstrInfo.cpp
lib/Target/ARM/Thumb2InstrInfo.cpp
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/TargetAsmInfo.cpp
lib/Target/TargetInstrInfo.cpp
lib/Target/X86/X86InstrInfo.cpp