diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-11-01 13:47:55 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-11-01 13:47:55 +0000 |
| commit | 1657f2ad994d348a9cfd7430abe110cbe6f977a4 (patch) | |
| tree | d5927a72218f6f2b1de6d24b88fdbb4a164d383f /llvm/utils/TableGen/X86FoldTablesEmitter.cpp | |
| parent | f7d7a59b9e3c09699b851ce7346c79474d785a79 (diff) | |
| download | bcm5719-llvm-1657f2ad994d348a9cfd7430abe110cbe6f977a4.tar.gz bcm5719-llvm-1657f2ad994d348a9cfd7430abe110cbe6f977a4.zip | |
Fix warnings discovered by rL317076. [-Wunused-private-field]
llvm-svn: 317091
Diffstat (limited to 'llvm/utils/TableGen/X86FoldTablesEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/X86FoldTablesEmitter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp index 2fefe0a92aa..3ea7d28a6d5 100644 --- a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp +++ b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp @@ -317,11 +317,10 @@ getAltRegInst(const CodeGenInstruction *I, const RecordKeeper &Records, // matches the EVEX instruction of this object. class IsMatch { const CodeGenInstruction *MemInst; - const RecordKeeper &Records; public: IsMatch(const CodeGenInstruction *Inst, const RecordKeeper &Records) - : MemInst(Inst), Records(Records) {} + : MemInst(Inst) {} bool operator()(const CodeGenInstruction *RegInst) { Record *MemRec = MemInst->TheDef; |

