Use llvm streams instead of <iostream>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31985 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 7da1dca..b6e6011 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -17,8 +17,8 @@
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Support/LeakDetector.h"
+#include "llvm/Support/Streams.h"
#include <iostream>
-
using namespace llvm;
// Global variable holding an array of descriptors for machine instructions.
@@ -175,7 +175,7 @@
}
void MachineInstr::dump() const {
- std::cerr << " " << *this;
+ llvm_cerr << " " << *this;
}
static inline void OutputReg(std::ostream &os, unsigned RegNo,