mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
remove unions from LLVM IR. They are severely buggy and not
being actively maintained, improved, or extended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -511,14 +511,6 @@ struct ConstantKeyData<ConstantStruct> {
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct ConstantKeyData<ConstantUnion> {
|
||||
typedef Constant* ValType;
|
||||
static ValType getValType(ConstantUnion *CU) {
|
||||
return cast<Constant>(CU->getOperand(0));
|
||||
}
|
||||
};
|
||||
|
||||
// ConstantPointerNull does not take extra "value" argument...
|
||||
template<class ValType>
|
||||
struct ConstantCreator<ConstantPointerNull, PointerType, ValType> {
|
||||
|
Reference in New Issue
Block a user