Generalize tcFullMultiply so that the operands can be of differing
[oota-llvm.git] / lib / Support / PluginLoader.cpp
index 2ed9836fd09ad8fc31dd78d17a67e35b944c42ad..3c9de89a4265d2b8ea513b768496a16c20471c7f 100644 (file)
@@ -13,8 +13,9 @@
 
 #define DONT_GET_PLUGIN_LOADER_OPTION
 #include "llvm/Support/PluginLoader.h"
+#include "llvm/Support/Streams.h"
 #include "llvm/System/DynamicLibrary.h"
-#include <iostream>
+#include <ostream>
 #include <vector>
 using namespace llvm;
 
@@ -26,8 +27,8 @@ void PluginLoader::operator=(const std::string &Filename) {
 
   std::string Error;
   if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) {
-    std::cerr << "Error opening '" << Filename << "': " << Error
-              << "\n  -load request ignored.\n";
+    cerr << "Error opening '" << Filename << "': " << Error
+         << "\n  -load request ignored.\n";
   } else {
     Plugins->push_back(Filename);
   }