Add comment.
[oota-llvm.git] / lib / Target / ARM / ARMTargetAsmInfo.h
index 3fb9bb006612e712ccfeb9e4dd176a0349892f6b..56539696cde27e43130ce19d340411d346617919 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by James M. Laskey and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -15,6 +15,7 @@
 #define ARMTARGETASMINFO_H
 
 #include "llvm/Target/TargetAsmInfo.h"
+#include "ARMSubtarget.h"
 
 namespace llvm {
 
@@ -22,9 +23,13 @@ namespace llvm {
   class ARMTargetMachine;
 
   struct ARMTargetAsmInfo : public TargetAsmInfo {
-    ARMTargetAsmInfo(const ARMTargetMachine &TM);
+    explicit ARMTargetAsmInfo(const ARMTargetMachine &TM);
 
-    bool isThumb;
+    const ARMSubtarget *Subtarget;
+
+    virtual unsigned getInlineAsmLength(const char *Str) const;
+    unsigned countArguments(const char *p) const;
+    unsigned countString(const char *p) const;
   };