From: Chris Lattner Date: Sun, 31 Mar 2002 07:15:20 +0000 (+0000) Subject: Print out the instruction instead of just the address! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e6b552fd86294d3d76fc4eeb0b77472e035aec26;p=oota-llvm.git Print out the instruction instead of just the address! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2063 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DataStructure/FunctionRepBuilder.h b/lib/Analysis/DataStructure/FunctionRepBuilder.h index bc561342f2d..9523a563021 100644 --- a/lib/Analysis/DataStructure/FunctionRepBuilder.h +++ b/lib/Analysis/DataStructure/FunctionRepBuilder.h @@ -127,7 +127,9 @@ private: void visitSetCondInst(SetCondInst *SCI) {} // SetEQ & friends are ignored void visitFreeInst(FreeInst *FI) {} // Ignore free instructions void visitInstruction(Instruction *I) { - std::cerr << "\n\n\nUNKNOWN INSTRUCTION type: " << I << "\n\n\n"; + std::cerr << "\n\n\nUNKNOWN INSTRUCTION type: "; + I->dump(); + std::cerr << "\n\n\n"; assert(0 && "Cannot proceed"); } };