projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b6af79
)
Adjust to new interface
author
Chris Lattner
<sabre@nondot.org>
Mon, 8 Mar 2004 18:51:45 +0000
(18:51 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 8 Mar 2004 18:51:45 +0000
(18:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12231
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 20f94b5bc935242b3e16781026839aa072761fd9..fd3cda6148020ca2b0be062eb09de04b1fc7db40 100644
(file)
--- 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->emitBasicBlock
Start
Annot(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);
}