OSDN Git Service

abort with an assert instead of a cerr to get line#
authorChris Lattner <sabre@nondot.org>
Mon, 10 Mar 2008 23:56:08 +0000 (23:56 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Mar 2008 23:56:08 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48199 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.cpp

index 3c12fa1..762a7bc 100644 (file)
@@ -1499,7 +1499,7 @@ void X86InstrInfo::copyRegToReg(MachineBasicBlock &MBB,
     return;
   }
   
-  cerr << "Not yet supported!";
+  assert(0 && "Not yet supported!");
   abort();
 }