mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
switch GC_LABEL to use an MCSymbol operand instead of a label ID operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1558,9 +1558,7 @@ void AsmPrinter::printLabelInst(const MachineInstr *MI) const {
|
||||
if (MI->getOperand(0).isMCSymbol())
|
||||
Sym = MI->getOperand(0).getMCSymbol();
|
||||
else
|
||||
Sym =
|
||||
OutContext.GetOrCreateTemporarySymbol(Twine(MAI->getPrivateGlobalPrefix()) +
|
||||
"label" + Twine(MI->getOperand(0).getImm()));
|
||||
Sym = MMI->getLabelSym(MI->getOperand(0).getImm());
|
||||
OutStreamer.EmitLabel(Sym);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user