mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Start of wasm support
This commit is contained in:
parent
053b302d42
commit
b7b065855d
22 changed files with 487 additions and 35 deletions
|
@ -6567,6 +6567,7 @@ BfIRFunction BfModule::GetBuiltInFunc(BfBuiltInFuncType funcTypeId)
|
|||
switch (funcTypeId)
|
||||
{
|
||||
case BfBuiltInFuncType_PrintF:
|
||||
paramTypes.Add(nullPtrType);
|
||||
funcType = mBfIRBuilder->CreateFunctionType(int32Type, paramTypes, true);
|
||||
func = mBfIRBuilder->CreateFunction(funcType, BfIRLinkageType_External, "PrintF");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue