stop forcing a noop AssemblyAnnotationWriter to silence #uses

comments, these don't happen anymore.

llvm-svn: 112901
This commit is contained in:
Chris Lattner 2010-09-02 23:03:10 +00:00
parent 854ad26ae2
commit 19199cce55
1 changed files with 1 additions and 5 deletions

View File

@ -21,7 +21,6 @@
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
#include "llvm/Assembly/AsmAnnotationWriter.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
@ -179,9 +178,6 @@ void IVUsers::print(raw_ostream &OS, const Module *M) const {
}
OS << ":\n";
// Use a default AssemblyAnnotationWriter to suppress the default info
// comments, which aren't relevant here.
AssemblyAnnotationWriter Annotator;
for (ilist<IVStrideUse>::const_iterator UI = IVUses.begin(),
E = IVUses.end(); UI != E; ++UI) {
OS << " ";
@ -195,7 +191,7 @@ void IVUsers::print(raw_ostream &OS, const Module *M) const {
OS << ")";
}
OS << " in ";
UI->getUser()->print(OS, &Annotator);
UI->getUser()->print(OS);
OS << '\n';
}
}