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
This commit is contained in:
Anand Shukla
2002-06-25 21:18:19 +00:00
parent 5cafcfbab4
commit 3b5eabb24b
2 changed files with 18 additions and 17 deletions

View File

@ -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!");