[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h

Chris Lattner sabre at nondot.org
Sat Mar 24 19:15:11 PDT 2007



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.115 -> 1.116
---
Log message:

switch TargetLowering::getConstraintType to take the entire constraint,
not just the first letter.  No functionality change.


---
Diffs of the changes:  (+3 -3)

 TargetLowering.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.115 llvm/include/llvm/Target/TargetLowering.h:1.116
--- llvm/include/llvm/Target/TargetLowering.h:1.115	Wed Mar 21 16:51:52 2007
+++ llvm/include/llvm/Target/TargetLowering.h	Sat Mar 24 21:14:49 2007
@@ -806,9 +806,9 @@
     C_Unknown              // Unsupported constraint.
   };
   
-  /// getConstraintType - Given a constraint letter, return the type of
-  /// constraint it is for this target.
-  virtual ConstraintType getConstraintType(char ConstraintLetter) const;
+  /// getConstraintType - Given a constraint, return the type of constraint it
+  /// is for this target.
+  virtual ConstraintType getConstraintType(const std::string &Constraint) const;
   
   
   /// getRegClassForInlineAsmConstraint - Given a constraint letter (e.g. "r"),






More information about the llvm-commits mailing list