1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Fixed ConstEval failed params generation infinite loop

This commit is contained in:
Brian Fiete 2023-11-09 09:48:11 -05:00
parent b889a7e208
commit 6b469c4c39

View file

@ -7879,9 +7879,9 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, const BfTypedValu
expandedParamsArray = BfTypedValue(mModule->mBfIRBuilder->CreateConstAgg(irSizedArrayType, values), wantType); expandedParamsArray = BfTypedValue(mModule->mBfIRBuilder->CreateConstAgg(irSizedArrayType, values), wantType);
PushArg(expandedParamsArray, irArgs); PushArg(expandedParamsArray, irArgs);
}
continue; continue;
} }
}
else if (wantType->IsArray()) else if (wantType->IsArray())
{ {
BfArrayType* arrayType = (BfArrayType*)wantType; BfArrayType* arrayType = (BfArrayType*)wantType;