mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed 'method not generated' comptime error
This commit is contained in:
parent
249f4f1016
commit
ba0c23b8c5
3 changed files with 10 additions and 5 deletions
|
@ -6454,7 +6454,8 @@ bool CeContext::Execute(CeFunction* startFunction, uint8* startStackPtr, uint8*
|
|||
|
||||
if (moduleMethodInstance)
|
||||
{
|
||||
mCeMachine->QueueMethod(moduleMethodInstance.mMethodInstance, moduleMethodInstance.mFunc);
|
||||
auto ceFunction = mCeMachine->QueueMethod(moduleMethodInstance.mMethodInstance, moduleMethodInstance.mFunc);
|
||||
callEntry.mFunctionInfo = ceFunction->mCeFunctionInfo;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8207,7 +8208,7 @@ BfMethodInstance* CeMachine::GetMethodInstance(int64 methodHandle)
|
|||
return methodInstance;
|
||||
}
|
||||
|
||||
void CeMachine::QueueMethod(BfMethodInstance* methodInstance, BfIRValue func)
|
||||
CeFunction* CeMachine::QueueMethod(BfMethodInstance* methodInstance, BfIRValue func)
|
||||
{
|
||||
if (mPreparingFunction != NULL)
|
||||
{
|
||||
|
@ -8216,7 +8217,7 @@ void CeMachine::QueueMethod(BfMethodInstance* methodInstance, BfIRValue func)
|
|||
}
|
||||
|
||||
bool added = false;
|
||||
auto ceFunction = GetFunction(methodInstance, func, added);
|
||||
return GetFunction(methodInstance, func, added);
|
||||
}
|
||||
|
||||
void CeMachine::QueueMethod(BfModuleMethodInstance moduleMethodInstance)
|
||||
|
|
|
@ -969,7 +969,7 @@ public:
|
|||
public:
|
||||
void CompileStarted();
|
||||
void CompileDone();
|
||||
void QueueMethod(BfMethodInstance* methodInstance, BfIRValue func);
|
||||
CeFunction* QueueMethod(BfMethodInstance* methodInstance, BfIRValue func);
|
||||
void QueueMethod(BfModuleMethodInstance moduleMethodInstance);
|
||||
void QueueStaticField(BfFieldInstance* fieldInstance, const StringImpl& mangledFieldName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue