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:
parent
9988dec99d
commit
a82cc0534d
6 changed files with 37 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue