From 3b5eabb24beda64e0aa0a37a746a052db00d7aa6 Mon Sep 17 00:00:00 2001 From: Anand Shukla Date: Tue, 25 Jun 2002 21:18:19 +0000 Subject: changes to make it compatible with 64bit gcc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2795 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/CloneFunction.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Transforms/Utils/CloneFunction.cpp') 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 +#include // 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!"); -- cgit v1.2.3-18-g5258