1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Added Runtime.AddErrorHandler

This commit is contained in:
Brian Fiete 2022-02-11 08:12:30 -05:00
parent 9e80281d1a
commit 657a64f59c
8 changed files with 192 additions and 6 deletions

View file

@ -19107,7 +19107,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
{
BfIRValue dllImportGlobalVar = CreateDllImportGlobalVar(methodInstance, true);
methodInstance->mIRFunction = mBfIRBuilder->GetFakeVal();
BF_ASSERT(dllImportGlobalVar);
BF_ASSERT(dllImportGlobalVar || methodInstance->mHasFailed);
mFuncReferences[mCurMethodInstance] = dllImportGlobalVar;
}