mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed splat interference with methodRef
This commit is contained in:
parent
0b02483971
commit
13ca09a464
1 changed files with 1 additions and 1 deletions
|
@ -1174,7 +1174,7 @@ void BfMethodInstance::GetIRFunctionInfo(BfModule* module, BfIRType& returnType,
|
|||
if ((checkType->IsValuelessType()) && (!checkType->IsMethodRef()))
|
||||
continue;
|
||||
|
||||
if (doSplat)
|
||||
if ((doSplat) && (!checkType->IsMethodRef()))
|
||||
{
|
||||
int splatCount = checkType->GetSplatCount();
|
||||
if ((int)paramTypes.size() + splatCount > module->mCompiler->mOptions.mMaxSplatRegs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue