summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-04-23 20:04:35 +0000
committerDale Johannesen <dalej@apple.com>2007-04-23 20:04:35 +0000
commit8eb9bff493d3553bc72f4e45de7948d3afb86f19 (patch)
tree37a90ba95a4305445405c3a883cf104b58a41119 /llvm/lib
parent0a1069d526f4473fa720148d1d6205c1329260b0 (diff)
downloadbcm5719-llvm-8eb9bff493d3553bc72f4e45de7948d3afb86f19.tar.gz
bcm5719-llvm-8eb9bff493d3553bc72f4e45de7948d3afb86f19.zip
add isThumb (unused as yet)
llvm-svn: 36370
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp3
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index dfb78e8db9a..4524041fa45 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -13,6 +13,8 @@
#include "ARMTargetAsmInfo.h"
#include "ARMTargetMachine.h"
+#include <cstring>
+#include <cctype>
using namespace llvm;
ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
@@ -80,4 +82,5 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
InlineAsmStart = "@ InlineAsm Start";
InlineAsmEnd = "@ InlineAsm End";
LCOMMDirective = "\t.lcomm\t";
+ isThumb = Subtarget->isThumb();
}
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.h b/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
index 4edb1d2e431..3fb9bb00661 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
@@ -23,6 +23,8 @@ namespace llvm {
struct ARMTargetAsmInfo : public TargetAsmInfo {
ARMTargetAsmInfo(const ARMTargetMachine &TM);
+
+ bool isThumb;
};
OpenPOWER on IntegriCloud