diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-26 10:52:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-26 10:52:51 +0000 |
commit | fe6b146dcd09f488b12c7ff888ead9cedc92c2a6 (patch) | |
tree | 7e382930b9f8d236d6c06724e5aa26e7d1809f5d /lib/Support/Allocator.cpp | |
parent | 7fe9518698d4b07fb9dd81f5a34f312d690539cc (diff) |
Removed #include <iostream> and replace with llvm_* streams.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31927 91177308-0d34-0410-b5e6-96231b3b80d8
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"; } |