aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-12 21:16:26 +0000
committerChris Lattner <sabre@nondot.org>2003-05-12 21:16:26 +0000
commit9d6d118837f7308a1a3cf10514903b0209804b5c (patch)
treedb7e38bfbe70e4a1e4e68c188c8f64dfcc5a2cb0 /lib/Target/X86
parentb70c1381b4174e939d8bd4fdff7b8cb20ff42e24 (diff)
downloadexternal_llvm-9d6d118837f7308a1a3cf10514903b0209804b5c.zip
external_llvm-9d6d118837f7308a1a3cf10514903b0209804b5c.tar.gz
external_llvm-9d6d118837f7308a1a3cf10514903b0209804b5c.tar.bz2
Make abort more explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp4
-rw-r--r--lib/Target/X86/X86ISelSimple.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index 6b2ba39..205316e 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/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!");
}
diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp
index 6b2ba39..205316e 100644
--- a/lib/Target/X86/X86ISelSimple.cpp
+++ b/lib/Target/X86/X86ISelSimple.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!");
}