mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 06:29:59 +00:00
IR: Remove a no longer needed assert.
This assert was checking for a miscompile in a version of GCC that we no longer support. llvm-svn: 285506
This commit is contained in:
parent
693d21e48c
commit
87247f2c07
@ -674,12 +674,7 @@ PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) {
|
||||
|
||||
PointerType::PointerType(Type *E, unsigned AddrSpace)
|
||||
: SequentialType(PointerTyID, E) {
|
||||
#ifndef NDEBUG
|
||||
const unsigned oldNCT = NumContainedTys;
|
||||
#endif
|
||||
setSubclassData(AddrSpace);
|
||||
// Check for miscompile. PR11652.
|
||||
assert(oldNCT == NumContainedTys && "bitfield written out of bounds?");
|
||||
}
|
||||
|
||||
PointerType *Type::getPointerTo(unsigned addrs) const {
|
||||
|
Loading…
Reference in New Issue
Block a user