1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Remove union splat

This commit is contained in:
Brian Fiete 2024-03-22 07:47:54 -04:00
parent f44295e8ea
commit dfd7a13066

View file

@ -1966,8 +1966,10 @@ BfType* BfTypeInstance::GetUnionInnerType(bool* wantSplat)
// Don't allow a float for the inner type -- to avoid invalid loading invalid FP bit patterns during copies // Don't allow a float for the inner type -- to avoid invalid loading invalid FP bit patterns during copies
if ((unionInnerType != NULL) && (!makeRaw)) if ((unionInnerType != NULL) && (!makeRaw))
{ {
if (wantSplat != NULL) //TODO: How did splats make sense? It breaks CompactList
*wantSplat = true;
//if (wantSplat != NULL)
// *wantSplat = true;
} }
else else
{ {