diff options
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 6bf7553e75..f912d11500 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/lib/Transforms/Utils/CloneFunction.cpp @@ -6,6 +6,7 @@ #include "llvm/BasicBlock.h" #include "llvm/Instruction.h" #include <map> +#include <iostream> // FIXME: This should be merged with FunctionInlining @@ -22,8 +23,8 @@ static inline void RemapInstruction(Instruction *I, #ifndef NDEBUG if (!V) { - cerr << "Val = \n" << Op << "Addr = " << (void*)Op; - cerr << "\nInst = " << I; + std::cerr << "Val = \n" << Op << "Addr = " << (void*)Op; + std::cerr << "\nInst = " << I; } #endif assert(V && "Referenced value not in value map!"); |