What should be the last unnecessary <iostream>s in the library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32333 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2006-12-07 22:21:48 +00:00
parent 6e49d8b4bf
commit f5da13367f
52 changed files with 2646 additions and 1822 deletions
+4 -5
View File
@@ -15,7 +15,6 @@
#include "PPC.h"
#include "llvm/Module.h"
#include "PPCGenSubtarget.inc"
#include <iostream>
using namespace llvm;
#if defined(__APPLE__)
@@ -80,8 +79,8 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS, bool is64Bit)
// If we are generating code for ppc64, verify that options make sense.
if (is64Bit) {
if (!has64BitSupport()) {
std::cerr << "PPC: Generation of 64-bit code for a 32-bit processor "
"requested. Ignoring 32-bit processor feature.\n";
cerr << "PPC: Generation of 64-bit code for a 32-bit processor "
<< "requested. Ignoring 32-bit processor feature.\n";
Has64BitSupport = true;
}
// Silently force 64-bit register use on ppc64.
@@ -91,8 +90,8 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS, bool is64Bit)
// If the user requested use of 64-bit regs, but the cpu selected doesn't
// support it, warn and ignore.
if (use64BitRegs() && !has64BitSupport()) {
std::cerr << "PPC: 64-bit registers requested on CPU without support. "
"Disabling 64-bit register use.\n";
cerr << "PPC: 64-bit registers requested on CPU without support. "
<< "Disabling 64-bit register use.\n";
Use64BitRegs = false;
}