summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Allocator.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-26 10:52:51 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-26 10:52:51 +0000
commit3750ae25a0cee3b17f551b8f1e9a3f54c16bbfbd (patch)
tree7ecc3be5a7c263ba7f437bd876fa8a154f336b3a /llvm/lib/Support/Allocator.cpp
parenta88968b9c456e3c47403c7e0bb3a8d94f980d0b5 (diff)
downloadbcm5719-llvm-3750ae25a0cee3b17f551b8f1e9a3f54c16bbfbd.tar.gz
bcm5719-llvm-3750ae25a0cee3b17f551b8f1e9a3f54c16bbfbd.zip
Removed #include <iostream> and replace with llvm_* streams.
llvm-svn: 31927
Diffstat (limited to 'llvm/lib/Support/Allocator.cpp')
-rw-r--r--llvm/lib/Support/Allocator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/Allocator.cpp b/llvm/lib/Support/Allocator.cpp
index 7e7477357fe..96f0743f3d7 100644
--- a/llvm/lib/Support/Allocator.cpp
+++ b/llvm/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";
}
OpenPOWER on IntegriCloud