mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added support for C-style vararg methods
This commit is contained in:
parent
89e6b0d577
commit
7741344fd2
16 changed files with 129 additions and 68 deletions
|
@ -4257,7 +4257,7 @@ BfIRFunctionType BfIRBuilder::MapMethod(BfMethodInstance* methodInstance)
|
|||
SizedArray<BfIRType, 8> paramTypes;
|
||||
methodInstance->GetIRFunctionInfo(mModule, retType, paramTypes);
|
||||
|
||||
auto funcType = CreateFunctionType(retType, paramTypes, false);
|
||||
auto funcType = CreateFunctionType(retType, paramTypes, methodInstance->IsVarArgs());
|
||||
if (useCache)
|
||||
mMethodTypeMap[methodInstance] = funcType;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue