mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Moved DebugValue to Value.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb6a8c0849
commit
5efa3ccbd1
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user