[llvm-commits] [llvm] r117987 - /llvm/trunk/utils/TableGen/CodeEmitterGen.cpp
Jim Grosbach
grosbach at apple.com
Mon Nov 1 17:16:40 PDT 2010
Author: grosbach
Date: Mon Nov 1 19:16:39 2010
New Revision: 117987
URL: http://llvm.org/viewvc/llvm-project?rev=117987&view=rev
Log:
Tidy up.
Modified:
llvm/trunk/utils/TableGen/CodeEmitterGen.cpp
Modified: llvm/trunk/utils/TableGen/CodeEmitterGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeEmitterGen.cpp?rev=117987&r1=117986&r2=117987&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeEmitterGen.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeEmitterGen.cpp Mon Nov 1 19:16:39 2010
@@ -49,7 +49,6 @@
}
}
-
// 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 @@
return -1;
}
-
void CodeEmitterGen::run(raw_ostream &o) {
CodeGenTarget Target;
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");
@@ -217,7 +215,6 @@
InstList.push_back(InstName);
}
-
// Emit initial function code
o << " const unsigned opcode = MI.getOpcode();\n"
<< " unsigned Value = InstBits[opcode];\n"
More information about the llvm-commits
mailing list