diff options
author | Chris Lattner <sabre@nondot.org> | 2007-03-25 02:14:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-03-25 02:14:49 +0000 |
commit | 4234f57fa02b1f04a9f52a7b3c2aa22d32ac521c (patch) | |
tree | be85ddfcc73a327c28ecfa0d4d081a06a7467869 /include/llvm/Target/TargetLowering.h | |
parent | 2b81207b4b2bafa912851e8935271aa2faf82cfe (diff) | |
download | external_llvm-4234f57fa02b1f04a9f52a7b3c2aa22d32ac521c.zip external_llvm-4234f57fa02b1f04a9f52a7b3c2aa22d32ac521c.tar.gz external_llvm-4234f57fa02b1f04a9f52a7b3c2aa22d32ac521c.tar.bz2 |
switch TargetLowering::getConstraintType to take the entire constraint,
not just the first letter. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 71923b6..5f51d13 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -806,9 +806,9 @@ public: 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"), |