Print out the instruction instead of just the address!
authorChris Lattner <sabre@nondot.org>
Sun, 31 Mar 2002 07:15:20 +0000 (07:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 31 Mar 2002 07:15:20 +0000 (07:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2063 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/FunctionRepBuilder.h

index bc561342f2d4c78cba8f67eaf7b951152b6d5d55..9523a563021fa7a8d5e144a2c9ecb88d4c6c1f79 100644 (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");
   }
 };