forked from OSchip/llvm-project
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
4caf76bee2
commit
310474f576
|
@ -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