mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Missing PopulateType call
This commit is contained in:
parent
d11ce0c48c
commit
d9e5253fdf
1 changed files with 4 additions and 6 deletions
|
@ -1175,11 +1175,6 @@ void BfMethodInstance::GetIRFunctionInfo(BfModule* module, BfIRType& returnType,
|
|||
{
|
||||
module->PopulateType(mReturnType);
|
||||
|
||||
if (mMethodDef->mName.Contains("GroupBy$"))
|
||||
{
|
||||
NOP;
|
||||
}
|
||||
|
||||
BfTypeCode loweredReturnTypeCode = BfTypeCode_None;
|
||||
BfTypeCode loweredReturnTypeCode2 = BfTypeCode_None;
|
||||
if ((!module->mIsComptimeModule) && (GetLoweredReturnType(&loweredReturnTypeCode, &loweredReturnTypeCode2, forceStatic)))
|
||||
|
@ -1260,7 +1255,10 @@ void BfMethodInstance::GetIRFunctionInfo(BfModule* module, BfIRType& returnType,
|
|||
checkLowered = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
if ((checkType->IsComposite()) && (checkType->IsIncomplete()))
|
||||
module->PopulateType(checkType, BfPopulateType_Data);
|
||||
|
||||
if (checkType->IsMethodRef())
|
||||
{
|
||||
doSplat = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue