summaryrefslogtreecommitdiff
path: root/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
commit79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a (patch)
tree507e7ca43cdca884242d2bb314ed04ec8a17d52c /lib/VMCore/AsmWriter.cpp
parent0c47a412079c11656fdcc7e125d604e3aa543903 (diff)
downloadllvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.gz
llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.bz2
llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.xz
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.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 696cd6f5c4..dc72031482 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>";