mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +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()))
|
if ((checkType->IsValuelessType()) && (!checkType->IsMethodRef()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (doSplat)
|
if ((doSplat) && (!checkType->IsMethodRef()))
|
||||||
{
|
{
|
||||||
int splatCount = checkType->GetSplatCount();
|
int splatCount = checkType->GetSplatCount();
|
||||||
if ((int)paramTypes.size() + splatCount > module->mCompiler->mOptions.mMaxSplatRegs)
|
if ((int)paramTypes.size() + splatCount > module->mCompiler->mOptions.mMaxSplatRegs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue