aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-09-18 12:48:16 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-09-18 12:48:16 +0000
commit5efa3ccbd17e81358f87474e53492871b1c83e41 (patch)
tree03ca1c8b00688ed21c5ab1fc2aa0895ea50450dd
parentbb6a8c08493199745aa3cf8c7ca5b468b3ec5a8e (diff)
Moved DebugValue to Value.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@606 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/AsmWriter.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index f61c54713d..24d7cc8e7f 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -23,10 +23,6 @@
#include "llvm/SymbolTable.h"
#include <algorithm>
-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));
}