mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
getConstraintType should be virtual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d89d888cc5
commit
eac707f702
@ -451,7 +451,7 @@ public:
|
||||
|
||||
/// getConstraintType - Given a constraint letter, return the type of
|
||||
/// constraint it is for this target.
|
||||
ConstraintType getConstraintType(char ConstraintLetter) const;
|
||||
virtual ConstraintType getConstraintType(char ConstraintLetter) const;
|
||||
|
||||
/// getRegForInlineAsmConstraint - Given a constraint letter or register
|
||||
/// name (e.g. "r" or "edx"), return a list of registers that can be used to
|
||||
@ -460,6 +460,8 @@ public:
|
||||
virtual std::vector<unsigned>
|
||||
getRegForInlineAsmConstraint(const std::string &Constraint) const;
|
||||
|
||||
/// isOperandValidForConstraint - Return true if the specified SDOperand is
|
||||
/// valid for the specified target constraint letter.
|
||||
virtual bool isOperandValidForConstraint(SDOperand Op, char ConstraintLetter);
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user