From: Matt Arsenault Date: Sun, 10 Nov 2013 01:04:02 +0000 (+0000) Subject: Make method static X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9988ad4ae684caa566773d3eda4d55707b92c0cd;p=oota-llvm.git Make method static git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194340 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/SIRegisterInfo.cpp b/lib/Target/R600/SIRegisterInfo.cpp index 7f69ef6f286..536ac9a7a2b 100644 --- a/lib/Target/R600/SIRegisterInfo.cpp +++ b/lib/Target/R600/SIRegisterInfo.cpp @@ -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; } diff --git a/lib/Target/R600/SIRegisterInfo.h b/lib/Target/R600/SIRegisterInfo.h index ffc57973e05..0880a898983 100644 --- a/lib/Target/R600/SIRegisterInfo.h +++ b/lib/Target/R600/SIRegisterInfo.h @@ -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