mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Expose AllocStackCount
to corlib
This commit is contained in:
parent
b0aa27c82c
commit
111b785081
6 changed files with 19 additions and 3 deletions
|
@ -13876,6 +13876,10 @@ BfTypedValue BfModule::GetCompilerFieldValue(const StringImpl& str)
|
|||
if (mProject != NULL)
|
||||
return BfTypedValue(GetStringObjectValue(mProject->mName), ResolveTypeDef(mCompiler->mStringTypeDef));
|
||||
}
|
||||
if (str == "#AllocStackCount")
|
||||
{
|
||||
return BfTypedValue(mBfIRBuilder->CreateConst(BfTypeCode_Int32, mCompiler->mOptions.mAllocStackCount), GetPrimitiveType(BfTypeCode_Int32));
|
||||
}
|
||||
|
||||
if (mCurMethodState->mMixinState != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue