mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Null check in GetCompilerFieldValue
This commit is contained in:
parent
32cfb8733f
commit
cf269db0eb
1 changed files with 1 additions and 1 deletions
|
@ -14736,7 +14736,7 @@ BfTypedValue BfModule::GetCompilerFieldValue(const StringImpl& str)
|
||||||
return BfTypedValue(mBfIRBuilder->CreateConst(BfTypeCode_Int32, mCompiler->mOptions.mAllocStackCount), GetPrimitiveType(BfTypeCode_Int32));
|
return BfTypedValue(mBfIRBuilder->CreateConst(BfTypeCode_Int32, mCompiler->mOptions.mAllocStackCount), GetPrimitiveType(BfTypeCode_Int32));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mCurMethodState->mMixinState != NULL)
|
if ((mCurMethodState != NULL) && (mCurMethodState->mMixinState != NULL))
|
||||||
{
|
{
|
||||||
if (str == "#CallerLineNum")
|
if (str == "#CallerLineNum")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue