diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-06-23 04:58:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-06-23 04:58:41 +0000 |
commit | f318457547ade1ca210386fb69da97f070423998 (patch) | |
tree | ca92a58cd1a8897af4491c9a33a2b35945c0760d /lib | |
parent | eea4a9b1e6aef4b2a03b4faf0efc10c3f7a8d800 (diff) | |
download | external_llvm-f318457547ade1ca210386fb69da97f070423998.zip external_llvm-f318457547ade1ca210386fb69da97f070423998.tar.gz external_llvm-f318457547ade1ca210386fb69da97f070423998.tar.bz2 |
Make helper method static since it doesn't use anything in the class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 5ae6b99..4006dad 100644 --- a/lib/Target/X86/X86InstrInfo.h +++ b/lib/Target/X86/X86InstrInfo.h @@ -145,9 +145,9 @@ class X86InstrInfo : public X86GenInstrInfo { std::pair<unsigned, unsigned> > MemOp2RegOpTableType; MemOp2RegOpTableType MemOp2RegOpTable; - void AddTableEntry(RegOp2MemOpTableType &R2MTable, - MemOp2RegOpTableType &M2RTable, - unsigned RegOp, unsigned MemOp, unsigned Flags); + static void AddTableEntry(RegOp2MemOpTableType &R2MTable, + MemOp2RegOpTableType &M2RTable, + unsigned RegOp, unsigned MemOp, unsigned Flags); public: explicit X86InstrInfo(X86TargetMachine &tm); |