mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Make LABEL a builtin opcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1029,6 +1029,16 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
|
||||
O << "\n\t" << TAI->getInlineAsmEnd() << "\n";
|
||||
}
|
||||
|
||||
/// printLabel - This method prints a local label used by debug and
|
||||
/// exception handling tables.
|
||||
void AsmPrinter::printLabel(const MachineInstr *MI) const {
|
||||
if (AsmVerbose) O << "\n";
|
||||
O << TAI->getPrivateGlobalPrefix()
|
||||
<< "debug_loc"
|
||||
<< MI->getOperand(0).getImmedValue()
|
||||
<< ":\n";
|
||||
}
|
||||
|
||||
/// PrintAsmOperand - Print the specified operand of MI, an INLINEASM
|
||||
/// instruction, using the specified assembler variant. Targets should
|
||||
/// overried this to format as appropriate.
|
||||
|
||||
Reference in New Issue
Block a user