Make abort more explicit
authorChris Lattner <sabre@nondot.org>
Mon, 12 May 2003 21:16:26 +0000 (21:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 May 2003 21:16:26 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6151 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp

index 6b2ba396805fd955ee2b950bd979d8e143e7de8c..205316e363817ce4b44b9293fdc942e34e68caa1 100644 (file)
@@ -1690,7 +1690,9 @@ void ISel::emitCastOperation(MachineBasicBlock *BB,
       case cByte:  StoreTy = Type::ShortTy; StoreClass = cShort; break;
       case cShort: StoreTy = Type::IntTy;   StoreClass = cInt;   break;
       case cInt:   StoreTy = Type::LongTy;  StoreClass = cLong;  break;
-      case cLong:  abort(); // FIXME: unsigned long long -> more complex
+      case cLong:
+        assert(0 &&"FIXME not implemented: cast FP to unsigned long long");
+        abort();
       default: assert(0 && "Unknown store class!");
       }
 
index 6b2ba396805fd955ee2b950bd979d8e143e7de8c..205316e363817ce4b44b9293fdc942e34e68caa1 100644 (file)
@@ -1690,7 +1690,9 @@ void ISel::emitCastOperation(MachineBasicBlock *BB,
       case cByte:  StoreTy = Type::ShortTy; StoreClass = cShort; break;
       case cShort: StoreTy = Type::IntTy;   StoreClass = cInt;   break;
       case cInt:   StoreTy = Type::LongTy;  StoreClass = cLong;  break;
-      case cLong:  abort(); // FIXME: unsigned long long -> more complex
+      case cLong:
+        assert(0 &&"FIXME not implemented: cast FP to unsigned long long");
+        abort();
       default: assert(0 && "Unknown store class!");
       }