diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:52:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:52:46 +0000 |
commit | b0659d404ba78876ae64ac611f80b23df792cc9a (patch) | |
tree | 507e7ca43cdca884242d2bb314ed04ec8a17d52c /lib/VMCore/AsmWriter.cpp | |
parent | c074dd0a7b0d00ee7d5a55d5a7120abeda61c23b (diff) | |
download | external_llvm-b0659d404ba78876ae64ac611f80b23df792cc9a.zip external_llvm-b0659d404ba78876ae64ac611f80b23df792cc9a.tar.gz external_llvm-b0659d404ba78876ae64ac611f80b23df792cc9a.tar.bz2 |
remove the std::ostream version of module and type printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 696cd6f..dc72031 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1999,10 +1999,6 @@ void AssemblyWriter::printInstruction(const Instruction &I) { // External Interface declarations //===----------------------------------------------------------------------===// -void Module::print(std::ostream &o, AssemblyAnnotationWriter *AAW) const { - raw_os_ostream OS(o); - print(OS, AAW); -} void Module::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const { SlotTracker SlotTable(this); formatted_raw_ostream OS(ROS); @@ -2010,11 +2006,6 @@ void Module::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const { W.write(this); } -void Type::print(std::ostream &o) const { - raw_os_ostream OS(o); - print(OS); -} - void Type::print(raw_ostream &OS) const { if (this == 0) { OS << "<null Type>"; |