mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
Adjust to new interface
llvm-svn: 12231
This commit is contained in:
parent
529e3b261d
commit
94d2b3a524
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user