mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Static init fix
This commit is contained in:
parent
73099e4a04
commit
9210f2f925
1 changed files with 1 additions and 1 deletions
|
@ -15823,7 +15823,7 @@ void BfModule::CreateStaticCtor()
|
|||
auto methodDef = mCurMethodInstance->mMethodDef;
|
||||
|
||||
BfIRBlock exitBB;
|
||||
if ((HasExecutedOutput()) && (!mCurMethodInstance->mIsUnspecialized) && (mCurMethodInstance->mChainType != BfMethodChainType_ChainMember))
|
||||
if ((HasCompiledOutput()) && (!mCurMethodInstance->mIsUnspecialized) && (mCurMethodInstance->mChainType != BfMethodChainType_ChainMember))
|
||||
{
|
||||
auto boolType = GetPrimitiveType(BfTypeCode_Boolean);
|
||||
auto didStaticInitVarAddr = mBfIRBuilder->CreateGlobalVariable(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue