mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed LinkName
This commit is contained in:
parent
2f144ee19b
commit
c62dbdf811
1 changed files with 1 additions and 1 deletions
|
@ -10111,7 +10111,7 @@ bool BfModule::TryGetConstString(BfIRConstHolder* constHolder, BfIRValue irValue
|
||||||
auto constant = constHolder->GetConstant(irValue);
|
auto constant = constHolder->GetConstant(irValue);
|
||||||
if (constant == NULL)
|
if (constant == NULL)
|
||||||
return false;
|
return false;
|
||||||
if (!BfIRConstHolder::IsInt(constant->mTypeCode))
|
if (constant->mTypeCode != BfTypeCode_StringId)
|
||||||
return false;
|
return false;
|
||||||
int stringId = constant->mInt32;
|
int stringId = constant->mInt32;
|
||||||
BfStringPoolEntry* entry = NULL;
|
BfStringPoolEntry* entry = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue