diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-02 00:16:39 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-02 00:16:39 +0000 |
commit | cd5391965fe95834c96e2d3c89d20c574401e911 (patch) | |
tree | fbcf8f138cdc23c59913c31ca0e9c41b41ba2a5d /utils/TableGen/CodeEmitterGen.cpp | |
parent | b552174a8c784299c476c3235c56a1eca88e2a23 (diff) |
Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r-- | utils/TableGen/CodeEmitterGen.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index 631075263e..a7b9656479 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -49,7 +49,6 @@ void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) { } } - // If the VarBitInit at position 'bit' matches the specified variable then // return the variable bit position. Otherwise return -1. int CodeEmitterGen::getVariableBit(const std::string &VarName, @@ -65,7 +64,6 @@ int CodeEmitterGen::getVariableBit(const std::string &VarName, return -1; } - void CodeEmitterGen::run(raw_ostream &o) { CodeGenTarget Target; std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); @@ -217,7 +215,6 @@ void CodeEmitterGen::run(raw_ostream &o) { InstList.push_back(InstName); } - // Emit initial function code o << " const unsigned opcode = MI.getOpcode();\n" << " unsigned Value = InstBits[opcode];\n" |