[llvm-commits] [llvm] r159071 - /llvm/trunk/lib/Target/X86/X86InstrInfo.h
Craig Topper
craig.topper at gmail.com
Fri Jun 22 21:58:41 PDT 2012
Author: ctopper
Date: Fri Jun 22 23:58:41 2012
New Revision: 159071
URL: http://llvm.org/viewvc/llvm-project?rev=159071&view=rev
Log:
Make helper method static since it doesn't use anything in the class.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.h
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.h?rev=159071&r1=159070&r2=159071&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.h (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.h Fri Jun 22 23:58:41 2012
@@ -145,9 +145,9 @@
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);
More information about the llvm-commits
mailing list