[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp ARMTargetAsmInfo.h

Dale Johannesen dalej at apple.com
Mon Apr 23 13:04:52 PDT 2007



Changes in directory llvm/lib/Target/ARM:

ARMTargetAsmInfo.cpp updated: 1.13 -> 1.14
ARMTargetAsmInfo.h updated: 1.1 -> 1.2
---
Log message:

add isThumb (unused as yet)


---
Diffs of the changes:  (+5 -0)

 ARMTargetAsmInfo.cpp |    3 +++
 ARMTargetAsmInfo.h   |    2 ++
 2 files changed, 5 insertions(+)


Index: llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
diff -u llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp:1.13 llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp:1.14
--- llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp:1.13	Wed Mar  7 19:25:25 2007
+++ llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp	Mon Apr 23 15:04:35 2007
@@ -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 @@
   InlineAsmStart = "@ InlineAsm Start";
   InlineAsmEnd = "@ InlineAsm End";
   LCOMMDirective = "\t.lcomm\t";
+  isThumb = Subtarget->isThumb();
 }


Index: llvm/lib/Target/ARM/ARMTargetAsmInfo.h
diff -u llvm/lib/Target/ARM/ARMTargetAsmInfo.h:1.1 llvm/lib/Target/ARM/ARMTargetAsmInfo.h:1.2
--- llvm/lib/Target/ARM/ARMTargetAsmInfo.h:1.1	Thu Sep  7 17:05:01 2006
+++ llvm/lib/Target/ARM/ARMTargetAsmInfo.h	Mon Apr 23 15:04:35 2007
@@ -23,6 +23,8 @@
 
   struct ARMTargetAsmInfo : public TargetAsmInfo {
     ARMTargetAsmInfo(const ARMTargetMachine &TM);
+
+    bool isThumb;
   };
 
 






More information about the llvm-commits mailing list