mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a22c3effe1
commit
5d7f978e91
@ -1005,9 +1005,6 @@ class AsmWriter {
|
||||
// will specify which alternative to use. For example "{x|y|z}" with Variant
|
||||
// == 1, will expand to "y".
|
||||
int Variant = 0;
|
||||
|
||||
// OperandSpacing - Space between operand columns.
|
||||
int OperandSpacing = -1;
|
||||
}
|
||||
def DefaultAsmWriter : AsmWriter;
|
||||
|
||||
|
@ -1091,8 +1091,7 @@ AsmWriterEmitter::AsmWriterEmitter(RecordKeeper &R) : Records(R), Target(R) {
|
||||
I != E; ++I)
|
||||
if (!(*I)->AsmString.empty() && (*I)->TheDef->getName() != "PHI")
|
||||
Instructions.push_back(
|
||||
AsmWriterInst(**I, AsmWriter->getValueAsInt("Variant"),
|
||||
AsmWriter->getValueAsInt("OperandSpacing")));
|
||||
AsmWriterInst(**I, AsmWriter->getValueAsInt("Variant")));
|
||||
|
||||
// Get the instruction numbering.
|
||||
NumberedInstructions = &Target.getInstructionsByEnumValue();
|
||||
|
@ -48,9 +48,7 @@ std::string AsmWriterOperand::getCode() const {
|
||||
/// ParseAsmString - Parse the specified Instruction's AsmString into this
|
||||
/// AsmWriterInst.
|
||||
///
|
||||
AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI,
|
||||
unsigned Variant,
|
||||
int OperandSpacing) {
|
||||
AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) {
|
||||
this->CGI = &CGI;
|
||||
|
||||
// NOTE: Any extensions to this code need to be mirrored in the
|
||||
|
@ -88,8 +88,7 @@ namespace llvm {
|
||||
const CodeGenInstruction *CGI;
|
||||
|
||||
AsmWriterInst(const CodeGenInstruction &CGI,
|
||||
unsigned Variant,
|
||||
int OperandSpacing);
|
||||
unsigned Variant);
|
||||
|
||||
/// MatchesAllButOneOp - If this instruction is exactly identical to the
|
||||
/// specified instruction except for one differing operand, return the
|
||||
|
Loading…
Reference in New Issue
Block a user