1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed union inner type calculation

This commit is contained in:
Brian Fiete 2021-02-25 07:10:14 -08:00
parent f3c17a671c
commit e517a9745a

View file

@ -1725,8 +1725,6 @@ BfType* BfTypeInstance::GetUnionInnerType(bool* wantSplat)
}
}
unionSize = BF_ALIGN(unionSize, mInstAlign);
BF_ASSERT(unionInnerType != this);
// Don't allow a float for the inner type -- to avoid invalid loading invalid FP bit patterns during copies