aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-11-02 00:16:39 +0000
committerJim Grosbach <grosbach@apple.com>2010-11-02 00:16:39 +0000
commitcd5391965fe95834c96e2d3c89d20c574401e911 (patch)
treefbcf8f138cdc23c59913c31ca0e9c41b41ba2a5d /utils/TableGen/CodeEmitterGen.cpp
parentb552174a8c784299c476c3235c56a1eca88e2a23 (diff)
downloadexternal_llvm-cd5391965fe95834c96e2d3c89d20c574401e911.zip
external_llvm-cd5391965fe95834c96e2d3c89d20c574401e911.tar.gz
external_llvm-cd5391965fe95834c96e2d3c89d20c574401e911.tar.bz2
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.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index 6310752..a7b9656 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"