mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed CheckStaticAccess
This commit is contained in:
parent
13d7b0c1c5
commit
90f59b4f5d
1 changed files with 1 additions and 1 deletions
|
@ -6038,7 +6038,7 @@ BfIRValue BfModule::FixClassVData(BfIRValue value)
|
||||||
void BfModule::CheckStaticAccess(BfTypeInstance* typeInstance)
|
void BfModule::CheckStaticAccess(BfTypeInstance* typeInstance)
|
||||||
{
|
{
|
||||||
// Note: this is not just for perf, it fixes a field var-type resolution issue
|
// Note: this is not just for perf, it fixes a field var-type resolution issue
|
||||||
if (!mBfIRBuilder->mIgnoreWrites)
|
if (mBfIRBuilder->mIgnoreWrites)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PopulateType(typeInstance, BfPopulateType_DataAndMethods);
|
PopulateType(typeInstance, BfPopulateType_DataAndMethods);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue