mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Address-of immutable is now a warning instead of error, added [NoSplat]
This commit is contained in:
parent
557b13070c
commit
808a4438d7
7 changed files with 69 additions and 41 deletions
|
@ -6113,7 +6113,7 @@ BfIRValue BfModule::CreateTypeData(BfType* type, Dictionary<int, int>& usedStrin
|
|||
if (!methodInstanceGroup->IsImplemented())
|
||||
continue;
|
||||
auto methodDef = typeDef->mMethods[methodIdx];
|
||||
if (methodDef->mNoReflect)
|
||||
if (methodDef->mIsNoReflect)
|
||||
continue;
|
||||
|
||||
auto defaultMethod = methodInstanceGroup->mDefault;
|
||||
|
@ -15146,7 +15146,7 @@ void BfModule::SetupIRMethod(BfMethodInstance* methodInstance, BfIRFunction func
|
|||
|
||||
if (methodDef->mImportKind == BfImportKind_Export)
|
||||
mBfIRBuilder->Func_AddAttribute(func, -1, BFIRAttribute_DllExport);
|
||||
if (methodDef->mNoReturn)
|
||||
if (methodDef->mIsNoReturn)
|
||||
mBfIRBuilder->Func_AddAttribute(func, -1, BfIRAttribute_NoReturn);
|
||||
auto callingConv = GetIRCallingConvention(methodInstance);
|
||||
if (callingConv != BfIRCallingConv_CDecl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue