1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

More robust handling of missing system types

This commit is contained in:
Brian Fiete 2021-02-26 06:27:01 -08:00
parent 75e075b8d9
commit 06a073d0e7
4 changed files with 23 additions and 15 deletions

View file

@ -2723,8 +2723,10 @@ void BfContext::RemoveInvalidWorkItems()
}
void BfContext::RemapObject()
{
{
if (mCompiler->mBfObjectTypeDef == NULL)
return;
// There are several types that get their LLVM type mapped to Object, so make sure to remap that
// for when Object itself gets recreated