mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Reworked !hasRequiredTypes state
This commit is contained in:
parent
5f5c752f5d
commit
eddbf7a984
11 changed files with 104 additions and 77 deletions
|
@ -6255,6 +6255,9 @@ CeMachine::~CeMachine()
|
|||
|
||||
auto _RemoveFunctionInfo = [&](CeFunctionInfo* functionInfo)
|
||||
{
|
||||
if (functionInfo->mMethodInstance != NULL)
|
||||
functionInfo->mMethodInstance->mInCEMachine = false;
|
||||
|
||||
if (functionInfo->mCeFunction != NULL)
|
||||
{
|
||||
// We don't need to actually unmap it at this point
|
||||
|
@ -6932,10 +6935,9 @@ CeFunction* CeMachine::GetFunction(BfMethodInstance* methodInstance, BfIRValue f
|
|||
ceFunction->mCeMachine = this;
|
||||
ceFunction->mIsVarReturn = methodInstance->mReturnType->IsVar();
|
||||
ceFunction->mCeFunctionInfo = ceFunctionInfo;
|
||||
ceFunction->mMethodInstance = methodInstance;
|
||||
|
||||
ceFunction->mMethodInstance = methodInstance;
|
||||
ceFunctionInfo->mMethodInstance = methodInstance;
|
||||
ceFunctionInfo->mCeFunction = ceFunction;
|
||||
ceFunctionInfo->mCeFunction = ceFunction;
|
||||
MapFunctionId(ceFunction);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue