aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/DataStructure
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-31 07:15:20 +0000
committerChris Lattner <sabre@nondot.org>2002-03-31 07:15:20 +0000
commite6b552fd86294d3d76fc4eeb0b77472e035aec26 (patch)
treeef7a53aad41da2542ba3c49b930193fe733dae47 /lib/Analysis/DataStructure
parent44cf3907846979706350f61172791c6b02c6ca5e (diff)
downloadexternal_llvm-e6b552fd86294d3d76fc4eeb0b77472e035aec26.zip
external_llvm-e6b552fd86294d3d76fc4eeb0b77472e035aec26.tar.gz
external_llvm-e6b552fd86294d3d76fc4eeb0b77472e035aec26.tar.bz2
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
Diffstat (limited to 'lib/Analysis/DataStructure')
-rw-r--r--lib/Analysis/DataStructure/FunctionRepBuilder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/FunctionRepBuilder.h b/lib/Analysis/DataStructure/FunctionRepBuilder.h
index bc56134..9523a56 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");
}
};