diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-02 08:39:46 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-02 08:39:46 +0000 |
commit | 4eecdeb3faf5df864790175da5d58301b751ec11 (patch) | |
tree | 4f9897e230b12c103b17472dfc10b801eaea2d6f /utils | |
parent | 916a9f071f525f29bb17e96dfea99431eb3d2a38 (diff) | |
download | external_llvm-4eecdeb3faf5df864790175da5d58301b751ec11.zip external_llvm-4eecdeb3faf5df864790175da5d58301b751ec11.tar.gz external_llvm-4eecdeb3faf5df864790175da5d58301b751ec11.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/AsmWriterEmitter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index eac7bd6..07ef2e5 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -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" |