mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed infinite loop during TryDevirtualizeCall with void call
This commit is contained in:
parent
1b7dbd7288
commit
8b2aae11d1
1 changed files with 2 additions and 0 deletions
|
@ -2862,6 +2862,8 @@ void BfMethodMatcher::TryDevirtualizeCall(BfTypedValue target, BfTypedValue* ori
|
|||
auto underlyingType = checkType->GetUnderlyingType();
|
||||
if ((underlyingType != NULL) && (underlyingType->IsWrappableType()))
|
||||
checkTypeInst = mModule->GetWrappedStructType(underlyingType);
|
||||
if (checkTypeInst == checkType)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue