From 3fa7b77ddfbb1b602a2c43af09fd9181fec8104c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 May 2003 21:16:26 +0000 Subject: [PATCH] Make abort more explicit llvm-svn: 6151 --- llvm/lib/Target/X86/InstSelectSimple.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index 6b2ba396805f..205316e36381 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -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!"); }