diff options
Diffstat (limited to 'lib/Support/Allocator.cpp')
-rw-r--r-- | lib/Support/Allocator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Support/Allocator.cpp b/lib/Support/Allocator.cpp index 7e7477357f..96f0743f3d 100644 --- a/lib/Support/Allocator.cpp +++ b/lib/Support/Allocator.cpp @@ -13,7 +13,7 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/DataTypes.h" -#include <iostream> +#include "llvm/Support/Streams.h" using namespace llvm; //===----------------------------------------------------------------------===// @@ -102,6 +102,6 @@ void BumpPtrAllocator::PrintStats() const { for (; R; R = R->getNext(), ++NumRegions) BytesUsed += R->getNumBytesAllocated(); - std::cerr << "\nNumber of memory regions: " << NumRegions << "\n"; - std::cerr << "Bytes allocated: " << BytesUsed << "\n"; + llvm_cerr << "\nNumber of memory regions: " << NumRegions << "\n"; + llvm_cerr << "Bytes allocated: " << BytesUsed << "\n"; } |