mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b552174a8c
commit
cd5391965f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user