git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-11-02 00:16:39 +00:00
parent b552174a8c
commit cd5391965f

View File

@ -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"