mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Made 'faked' static reference undef so it's not detected as constant
This commit is contained in:
parent
cbfc091fce
commit
11ccb876a3
2 changed files with 3 additions and 1 deletions
|
@ -664,6 +664,8 @@ bool BfIRConstHolder::IsConstValue(BfIRValue value)
|
|||
|
||||
if (constant->mConstType == BfConstType_GlobalVar)
|
||||
return false;
|
||||
if (constant->mConstType == BfConstType_Undef)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue