diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 05:20:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 05:20:37 +0000 |
commit | d90183d25dcbc0eabde56319fed4e8d6ace2e6eb (patch) | |
tree | 2265d4015a9ba0966c2bd58c8535a3d0f59bc4cd /lib/Target/ARM/Thumb1InstrInfo.cpp | |
parent | b6bbfebdc683a6a123410bca1175e14d264d4bc2 (diff) | |
download | external_llvm-d90183d25dcbc0eabde56319fed4e8d6ace2e6eb.zip external_llvm-d90183d25dcbc0eabde56319fed4e8d6ace2e6eb.tar.gz external_llvm-d90183d25dcbc0eabde56319fed4e8d6ace2e6eb.tar.bz2 |
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
Diffstat (limited to 'lib/Target/ARM/Thumb1InstrInfo.cpp')
-rw-r--r-- | lib/Target/ARM/Thumb1InstrInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/Thumb1InstrInfo.cpp b/lib/Target/ARM/Thumb1InstrInfo.cpp index 2ca2686..36dd1cb 100644 --- a/lib/Target/ARM/Thumb1InstrInfo.cpp +++ b/lib/Target/ARM/Thumb1InstrInfo.cpp @@ -22,8 +22,7 @@ using namespace llvm; -Thumb1InstrInfo::Thumb1InstrInfo(const ARMSubtarget &STI) - : ARMBaseInstrInfo(STI), RI(*this, STI) { +Thumb1InstrInfo::Thumb1InstrInfo(const ARMSubtarget &STI) : RI(*this, STI) { } unsigned Thumb1InstrInfo::getUnindexedOpcode(unsigned Opc) const { |