Print out the instruction instead of just the address!

llvm-svn: 2063
This commit is contained in:
Chris Lattner 2002-03-31 07:15:20 +00:00
parent ed9bfd95a9
commit 49c3ea8c1e
1 changed files with 3 additions and 1 deletions

View File

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