mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Added changes to support CompilerExplorer
This commit is contained in:
parent
c97b074fee
commit
c9e0ab6089
20 changed files with 389 additions and 156 deletions
|
@ -4407,11 +4407,6 @@ BfIRValue BfModule::CreateTypeData(BfType* type, Dictionary<int, int>& usedStrin
|
|||
typeFlags |= BfTypeFlags_Union;
|
||||
if (type->IsDelegate())
|
||||
typeFlags |= BfTypeFlags_Delegate;
|
||||
if (typeInstance != NULL)
|
||||
{
|
||||
if (typeInstance->mTypeDef == mCompiler->mPointerTTypeDef)
|
||||
typeFlags |= BfTypeFlags_Sys_PointerT;
|
||||
}
|
||||
if (type->WantsGCMarking())
|
||||
typeFlags |= BfTypeFlags_WantsMarking;
|
||||
|
||||
|
@ -20413,7 +20408,7 @@ void BfModule::DbgFinish()
|
|||
needForceLinking = true;
|
||||
}
|
||||
|
||||
if (needForceLinking)
|
||||
if ((needForceLinking) && (mProject->mCodeGenOptions.mAsmKind == BfAsmKind_None))
|
||||
{
|
||||
BfMethodState methodState;
|
||||
SetAndRestoreValue<BfMethodState*> prevMethodState(mCurMethodState, &methodState);
|
||||
|
@ -20510,13 +20505,6 @@ bool BfModule::Finish()
|
|||
BF_ASSERT((int)mOutFileNames.size() >= mExtensionCount);
|
||||
|
||||
bool writeModule = mBfIRBuilder->HasExports();
|
||||
// if ((!writeModule) && (!IsOptimized()))
|
||||
// {
|
||||
// CreateForceLinkMarker(this);
|
||||
// mHasForceLinkMarker = true;
|
||||
// writeModule = true;
|
||||
// }
|
||||
|
||||
String outputPath;
|
||||
|
||||
BfCodeGenOptions codeGenOptions = mProject->mCodeGenOptions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue