diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-31 07:15:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-31 07:15:20 +0000 |
commit | 49c3ea8c1eacbecc3321c8fbf513b13657e0e94b (patch) | |
tree | acf23f156974ff3852f8e00fd8d593151a3b4c0a | |
parent | ed9bfd95a9afcf07f5d30844e705dc2802acd6fd (diff) | |
download | bcm5719-llvm-49c3ea8c1eacbecc3321c8fbf513b13657e0e94b.tar.gz bcm5719-llvm-49c3ea8c1eacbecc3321c8fbf513b13657e0e94b.zip |
Print out the instruction instead of just the address!
llvm-svn: 2063
-rw-r--r-- | llvm/lib/Analysis/DataStructure/FunctionRepBuilder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/FunctionRepBuilder.h b/llvm/lib/Analysis/DataStructure/FunctionRepBuilder.h index bc561342f2d..9523a563021 100644 --- a/llvm/lib/Analysis/DataStructure/FunctionRepBuilder.h +++ b/llvm/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"); } }; |