summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/Thumb1InstrInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 05:20:37 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 05:20:37 +0000
commitd90183d25dcbc0eabde56319fed4e8d6ace2e6eb (patch)
tree2265d4015a9ba0966c2bd58c8535a3d0f59bc4cd /lib/Target/ARM/Thumb1InstrInfo.cpp
parentb6bbfebdc683a6a123410bca1175e14d264d4bc2 (diff)
downloadllvm-d90183d25dcbc0eabde56319fed4e8d6ace2e6eb.tar.gz
llvm-d90183d25dcbc0eabde56319fed4e8d6ace2e6eb.tar.bz2
llvm-d90183d25dcbc0eabde56319fed4e8d6ace2e6eb.tar.xz
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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/Thumb1InstrInfo.cpp b/lib/Target/ARM/Thumb1InstrInfo.cpp
index 2ca2686f1e..36dd1cb7e0 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 {