mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
Print out function name with % style instead of "" style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
740d3cdabd
commit
68e0278815
@ -574,7 +574,7 @@ void AssemblyWriter::printFunction(const Function *M) {
|
||||
// Print out the return type and name...
|
||||
Out << "\n" << (M->isExternal() ? "declare " : "")
|
||||
<< (M->hasInternalLinkage() ? "internal " : "");
|
||||
printType(M->getReturnType()) << " \"" << M->getName() << "\"(";
|
||||
printType(M->getReturnType()) << " %" << M->getName() << "(";
|
||||
Table.incorporateFunction(M);
|
||||
|
||||
// Loop over the arguments, printing them...
|
||||
@ -768,7 +768,7 @@ void AssemblyWriter::printInstruction(const Instruction *I) {
|
||||
writeOperand(AI->getArraySize(), true);
|
||||
}
|
||||
} else if (isa<CastInst>(I)) {
|
||||
writeOperand(Operand, true);
|
||||
if (Operand) writeOperand(Operand, true);
|
||||
Out << " to ";
|
||||
printType(I->getType());
|
||||
} else if (Operand) { // Print the normal way...
|
||||
|
Loading…
Reference in New Issue
Block a user