1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Improved handling of mGhostDependencies. Codegen Abort

This commit is contained in:
Brian Fiete 2025-01-19 08:39:46 -08:00
parent 9988dec99d
commit a82cc0534d
6 changed files with 37 additions and 4 deletions

View file

@ -2029,6 +2029,9 @@ void BfIRCodeGen::InitTarget()
void BfIRCodeGen::HandleNextCmd()
{
if (mFailed)
return;
int curId = mCmdCount;
BfIRCmd cmd = (BfIRCmd)mStream->Read();
@ -2091,6 +2094,9 @@ void BfIRCodeGen::HandleNextCmd()
mLLVMModule->print(outStream, NULL);
}
break;
case BfIRCmd_Abort:
Fail("Stream aborted");
break;
case BfIRCmd_SetType:
{
CMD_PARAM(int, typeId);