[TargetParser] Properly attach functions of ARMTargetParser to the class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2015-06-05 14:33:02 +00:00
parent 474d2e0f05
commit cdb8c729f2

View File

@ -223,8 +223,6 @@ struct {
} // namespace
namespace llvm {
// ======================================================= //
// Information by ID
// ======================================================= //
@ -241,13 +239,13 @@ unsigned ARMTargetParser::getFPUVersion(unsigned FPUKind) {
return FPUNames[FPUKind].FPUVersion;
}
unsigned getFPUNeonSupportLevel(unsigned FPUKind) {
unsigned ARMTargetParser::getFPUNeonSupportLevel(unsigned FPUKind) {
if (FPUKind >= ARM::FK_LAST)
return 0;
return FPUNames[FPUKind].NeonSupport;
}
unsigned getFPURestriction(unsigned FPUKind) {
unsigned ARMTargetParser::getFPURestriction(unsigned FPUKind) {
if (FPUKind >= ARM::FK_LAST)
return 0;
return FPUNames[FPUKind].Restriction;
@ -587,5 +585,3 @@ unsigned ARMTargetParser::parseArchVersion(StringRef Arch) {
}
return 0;
}
} // namespace llvm