1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

O(1) EnumParser

This commit is contained in:
Brian Fiete 2024-03-22 07:46:59 -04:00
parent 757d6e09aa
commit 45035c69e9
3 changed files with 147 additions and 39 deletions

View file

@ -17003,7 +17003,8 @@ void BeMCContext::Generate(BeFunction* function)
auto castedInst = (BeValueScopeRetainInst*)inst;
auto mcValue = GetOperand(castedInst->mValue, false, true);
auto vregInfo = GetVRegInfo(mcValue);
vregInfo->mValueScopeRetainedKind = BeMCValueScopeRetainKind_Soft;
if (vregInfo != NULL)
vregInfo->mValueScopeRetainedKind = BeMCValueScopeRetainKind_Soft;
}
break;
case BeValueScopeEndInst::TypeId: