Make method static

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2013-11-10 01:04:02 +00:00
parent c5142c547f
commit 9988ad4ae6
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ const TargetRegisterClass *SIRegisterInfo::getPhysRegClass(unsigned Reg) const {
return NULL;
}
bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) const {
bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) {
if (!RC) {
return false;
}

View File

@ -47,7 +47,7 @@ struct SIRegisterInfo : public AMDGPURegisterInfo {
const TargetRegisterClass *getPhysRegClass(unsigned Reg) const;
/// \returns true if this class contains only SGPR registers
bool isSGPRClass(const TargetRegisterClass *RC) const;
static bool isSGPRClass(const TargetRegisterClass *RC);
};
} // End namespace llvm