mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
remove some uses of llvm/Support/Streams.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -12,11 +12,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Bitcode/Serialize.h"
|
||||
#include "string.h"
|
||||
|
||||
#ifdef DEBUG_BACKPATCH
|
||||
#include "llvm/Support/Streams.h"
|
||||
#endif
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <cstring>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
@@ -86,7 +83,7 @@ SerializedPtrID Serializer::getPtrId(const void* ptr) {
|
||||
if (I == PtrMap.end()) {
|
||||
unsigned id = PtrMap.size()+1;
|
||||
#ifdef DEBUG_BACKPATCH
|
||||
llvm::cerr << "Registered PTR: " << ptr << " => " << id << "\n";
|
||||
errs() << "Registered PTR: " << ptr << " => " << id << "\n";
|
||||
#endif
|
||||
PtrMap[ptr] = id;
|
||||
return id;
|
||||
|
Reference in New Issue
Block a user