From e6b552fd86294d3d76fc4eeb0b77472e035aec26 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 31 Mar 2002 07:15:20 +0000 Subject: [PATCH] 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 --- lib/Analysis/DataStructure/FunctionRepBuilder.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"); } }; -- 2.34.1