mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Get rid of the annoying blank lines before labels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -620,6 +620,7 @@ void AsmWriterEmitter::run(std::ostream &O) {
|
||||
O << "\";\n\n";
|
||||
|
||||
O << " if (MI->getOpcode() == TargetInstrInfo::INLINEASM) {\n"
|
||||
<< " O << \"\\t\";\n"
|
||||
<< " printInlineAsm(MI);\n"
|
||||
<< " return true;\n"
|
||||
<< " } else if (MI->getOpcode() == TargetInstrInfo::LABEL) {\n"
|
||||
@@ -630,6 +631,8 @@ void AsmWriterEmitter::run(std::ostream &O) {
|
||||
<< " return true;\n"
|
||||
<< " }\n\n";
|
||||
|
||||
O << " O << \"\\t\";\n\n";
|
||||
|
||||
O << " // Emit the opcode for the instruction.\n"
|
||||
<< " unsigned Bits = OpInfo[MI->getOpcode()];\n"
|
||||
<< " if (Bits == 0) return false;\n"
|
||||
|
Reference in New Issue
Block a user