mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 02:22:29 +00:00
Revert r163556. Missed updates to tablegen files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -206,10 +206,10 @@ void X86AsmPrinter::printSymbolOperand(const MachineOperand &MO,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// printPCRelImm - This is used to print an immediate value that ends up
|
/// print_pcrel_imm - This is used to print an immediate value that ends up
|
||||||
/// being encoded as a pc-relative value. These print slightly differently, for
|
/// being encoded as a pc-relative value. These print slightly differently, for
|
||||||
/// example, a $ is not emitted.
|
/// example, a $ is not emitted.
|
||||||
void X86AsmPrinter::printPCRelImm(const MachineInstr *MI, unsigned OpNo,
|
void X86AsmPrinter::print_pcrel_imm(const MachineInstr *MI, unsigned OpNo,
|
||||||
raw_ostream &O) {
|
raw_ostream &O) {
|
||||||
const MachineOperand &MO = MI->getOperand(OpNo);
|
const MachineOperand &MO = MI->getOperand(OpNo);
|
||||||
switch (MO.getType()) {
|
switch (MO.getType()) {
|
||||||
@@ -459,7 +459,7 @@ bool X86AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
case 'P': // This is the operand of a call, treat specially.
|
case 'P': // This is the operand of a call, treat specially.
|
||||||
printPCRelImm(MI, OpNo, O);
|
print_pcrel_imm(MI, OpNo, O);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
case 'n': // Negate the immediate or print a '-' before the operand.
|
case 'n': // Negate the immediate or print a '-' before the operand.
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter {
|
|||||||
// These methods are used by the tablegen'erated instruction printer.
|
// These methods are used by the tablegen'erated instruction printer.
|
||||||
void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O,
|
void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O,
|
||||||
const char *Modifier = 0, unsigned AsmVariant = 0);
|
const char *Modifier = 0, unsigned AsmVariant = 0);
|
||||||
void printPCRelImm(const MachineInstr *MI, unsigned OpNo, raw_ostream &O);
|
void print_pcrel_imm(const MachineInstr *MI, unsigned OpNo, raw_ostream &O);
|
||||||
|
|
||||||
bool printAsmMRegister(const MachineOperand &MO, char Mode, raw_ostream &O);
|
bool printAsmMRegister(const MachineOperand &MO, char Mode, raw_ostream &O);
|
||||||
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
||||||
|
|||||||
Reference in New Issue
Block a user