From 5efa3ccbd17e81358f87474e53492871b1c83e41 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Tue, 18 Sep 2001 12:48:16 +0000 Subject: [PATCH] Moved DebugValue to Value.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@606 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index f61c54713d3..24d7cc8e7f3 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -23,10 +23,6 @@ #include "llvm/SymbolTable.h" #include -void DebugValue(const Value *V) { - cerr << V << endl; -} - // WriteAsOperand - Write the name of the specified value out to the specified // ostream. This can be useful when you just want to print int %reg126, not the // whole instruction that generated it. @@ -115,9 +111,9 @@ void AssemblyWriter::processModule(const Module *M) { for_each(M->gbegin(), M->gend(), bind_obj(this, &AssemblyWriter::processGlobal)); - - Out << "implementation\n"; + Out << "implementation\n"; + // Output all of the methods... for_each(M->begin(), M->end(), bind_obj(this,&AssemblyWriter::processMethod)); }