Ignore function-local OpUndef for stepping

This commit is contained in:
baldurk
2022-09-12 13:44:57 +01:00
parent 6d38a9dc12
commit 0a6368f777
@@ -575,7 +575,7 @@ void ThreadState::SkipIgnoredInstructions()
{
Iter it = debugger.GetIterForInstruction(nextInstruction);
rdcspv::Op op = it.opcode();
if(op == Op::Line || op == Op::NoLine)
if(op == Op::Line || op == Op::NoLine || op == Op::Undef)
{
nextInstruction++;
continue;