Move the cpu validating virtual method down to the feature routines
where it belongs. llvm-svn: 244342
This commit is contained in:
parent
3815c16bf8
commit
e173314d39
|
|
@ -636,9 +636,6 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Validate the contents of the __builtin_cpu_supports(const char*) argument.
|
|
||||||
virtual bool validateCpuSupports(StringRef Name) const { return false; }
|
|
||||||
|
|
||||||
// validateOutputConstraint, validateInputConstraint - Checks that
|
// validateOutputConstraint, validateInputConstraint - Checks that
|
||||||
// a constraint is valid and provides information about it.
|
// a constraint is valid and provides information about it.
|
||||||
// FIXME: These should return a real error instead of just true/false.
|
// FIXME: These should return a real error instead of just true/false.
|
||||||
|
|
@ -818,6 +815,10 @@ public:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// \brief Validate the contents of the __builtin_cpu_supports(const char*)
|
||||||
|
// argument.
|
||||||
|
virtual bool validateCpuSupports(StringRef Name) const { return false; }
|
||||||
|
|
||||||
// \brief Returns maximal number of args passed in registers.
|
// \brief Returns maximal number of args passed in registers.
|
||||||
unsigned getRegParmMax() const {
|
unsigned getRegParmMax() const {
|
||||||
assert(RegParmMax < 7 && "RegParmMax value is larger than AST can handle");
|
assert(RegParmMax < 7 && "RegParmMax value is larger than AST can handle");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue