aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-10-25 17:04:55 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-10-25 17:04:55 +0000
commita8a0a155de16830b8fcab539ba2ec21de3145532 (patch)
treec7cd0d2b5251de25fc1f08c8d067243d1ec567d1 /utils/TableGen
parent0eafc7fc37e48b27aad907bcdf0b726d2e6a9af8 (diff)
downloadexternal_llvm-a8a0a155de16830b8fcab539ba2ec21de3145532.zip
external_llvm-a8a0a155de16830b8fcab539ba2ec21de3145532.tar.gz
external_llvm-a8a0a155de16830b8fcab539ba2ec21de3145532.tar.bz2
Remove unused member & unnecessary semicolon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/CodeGenMapTable.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/TableGen/CodeGenMapTable.cpp b/utils/TableGen/CodeGenMapTable.cpp
index c08c33c..4bfd1ba 100644
--- a/utils/TableGen/CodeGenMapTable.cpp
+++ b/utils/TableGen/CodeGenMapTable.cpp
@@ -183,7 +183,6 @@ class MapTableEmitter {
private:
// std::string TargetName;
const CodeGenTarget &Target;
- RecordKeeper &Records;
// InstrMapDesc - InstrMapping record to be processed.
InstrMap InstrMapDesc;
@@ -201,10 +200,10 @@ private:
public:
MapTableEmitter(CodeGenTarget &Target, RecordKeeper &Records, Record *IMRec):
- Target(Target), Records(Records), InstrMapDesc(IMRec) {
+ Target(Target), InstrMapDesc(IMRec) {
const std::string FilterClass = InstrMapDesc.getFilterClass();
InstrDefs = Records.getAllDerivedDefinitions(FilterClass);
- };
+ }
void buildRowInstrMap();