[llvm-commits] CVS: llvm/include/llvm/InlineAsm.h

Chris Lattner lattner at cs.uiuc.edu
Wed Jan 25 14:10:48 PST 2006



Changes in directory llvm/include/llvm:

InlineAsm.h updated: 1.4 -> 1.5
---
Log message:

add another method


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

 InlineAsm.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/InlineAsm.h
diff -u llvm/include/llvm/InlineAsm.h:1.4 llvm/include/llvm/InlineAsm.h:1.5
--- llvm/include/llvm/InlineAsm.h:1.4	Wed Jan 25 13:58:26 2006
+++ llvm/include/llvm/InlineAsm.h	Wed Jan 25 16:10:35 2006
@@ -59,6 +59,13 @@
   virtual void print(std::ostream &O) const { print(O, 0); }
   void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
 
+  /// Verify - This static method can be used by the parser to check to see if
+  /// the specified constraint string is legal for the type.  This returns true
+  /// if legal, false if not.
+  ///
+  static bool Verify(const FunctionType *Ty, const std::string &Constraints);
+
+  
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const InlineAsm *) { return true; }
   static inline bool classof(const Value *V) {






More information about the llvm-commits mailing list