mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Make abort more explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6151 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b70c1381b4
commit
9d6d118837
@ -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!");
|
||||
}
|
||||
|
||||
|
@ -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!");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user