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

Fixed reusing of inlined debug locations

This commit is contained in:
Brian Fiete 2020-05-13 07:41:08 -07:00
parent f96b1a5d7a
commit 706153348a
3 changed files with 36 additions and 0 deletions

View file

@ -2270,6 +2270,11 @@ void BeIRCodeGen::HandleNextCmd()
mSavedDebugLocs.pop_back();
}
break;
case BfIRCmd_DupDebugLocation:
{
mBeModule->DupCurrentDebugLocation();
}
break;
case BfIRCmd_ClearDebugLocation:
{
mBeModule->SetCurrentDebugLocation(NULL);