summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-08 18:51:45 +0000
committerChris Lattner <sabre@nondot.org>2004-03-08 18:51:45 +0000
commit96cdd27b6539ce2e68553225f64bfc3820cb6360 (patch)
tree82cc8869cf3c21e9d4cf804008dcde91b5238ae1 /llvm/lib/VMCore
parent03745f3e80c09a0ad55969898da8e1a354363d9f (diff)
downloadbcm5719-llvm-96cdd27b6539ce2e68553225f64bfc3820cb6360.tar.gz
bcm5719-llvm-96cdd27b6539ce2e68553225f64bfc3820cb6360.zip
Adjust to new interface
llvm-svn: 12231
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 20f94b5bc93..fd3cda61480 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud