diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-08 18:51:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-08 18:51:45 +0000 |
commit | 9f717ef279f4b82e28c341c98a9aa602f01f9b27 (patch) | |
tree | 2614a97b7404edf1c48ad986e8f710bd6efe1310 | |
parent | 0b6af79e627ca1222b1bf67dd555e41a3252ba77 (diff) |
Adjust to new interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12231 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 20f94b5bc9..fd3cda6148 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -752,11 +752,13 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) { Out << "\n"; - if (AnnotationWriter) AnnotationWriter->emitBasicBlockAnnot(BB, Out); + if (AnnotationWriter) AnnotationWriter->emitBasicBlockStartAnnot(BB, Out); // Output all of the instructions in the basic block... for (BasicBlock::const_iterator I = BB->begin(), E = BB->end(); I != E; ++I) printInstruction(*I); + + if (AnnotationWriter) AnnotationWriter->emitBasicBlockEndAnnot(BB, Out); } |