mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Bug fixes, installer, [Export]
Fixed a bunch of bugs in aggregate const initializers Fixed ZIP bugs Fixed a compilation case where we change protection while reifying a type Added another project kind - Dynamic Library Added [Export] for DLL method exporting Fixed some issues of things being generated as __NOINLINE incorrectly Fixed an issue with module extensions with not-yet-demanded on-demand methods Started adding Installer
This commit is contained in:
parent
efa22e51fb
commit
09016c8dc0
135 changed files with 3615 additions and 2337 deletions
|
@ -1963,6 +1963,8 @@ String BeModule::ToString(BeFunction* wantFunc)
|
|||
str += " noreturn";
|
||||
if (func->mNoFramePointerElim)
|
||||
str += " noframepointerelim";
|
||||
if (func->mIsDLLExport)
|
||||
str += " dllexport";
|
||||
|
||||
if (func->mBlocks.size() == 0)
|
||||
{
|
||||
|
@ -2970,6 +2972,9 @@ BeFunction* BeModule::CreateFunction(BeFunctionType* funcType, BfIRLinkageType l
|
|||
func->mLinkageType = linkageType;
|
||||
func->mParams.Resize(funcType->mParams.size());
|
||||
mFunctions.push_back(func);
|
||||
#ifdef _DEBUG
|
||||
BF_ASSERT(mFunctionMap.TryAdd(name, func));
|
||||
#endif
|
||||
return func;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue