mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Comptime crash fixed for failed func call (ie: GetExecutableFilePath)
This commit is contained in:
parent
b6219ce80f
commit
68bc8976b8
1 changed files with 1 additions and 1 deletions
|
@ -1024,7 +1024,7 @@ int CeBuilder::GetCallTableIdx(BeFunction* beFunction, CeOperand* outOperand)
|
|||
*callIdxPtr = (int)mCeFunction->mCallTable.size();
|
||||
mCeFunction->mCallTable.Add(callEntry);
|
||||
|
||||
if (ceFunctionInfo != NULL)
|
||||
if ((ceFunctionInfo != NULL) && (mCeFunction->mCeFunctionInfo != NULL))
|
||||
{
|
||||
auto callerType = mCeFunction->mCeFunctionInfo->GetOwner();
|
||||
auto calleeType = ceFunctionInfo->GetOwner();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue