1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-08-16 16:20:38 +03:00

Early reject regex instructions that were already scheduled this step

This commit is contained in:
Maxime Coste 2024-02-12 08:08:16 +11:00
parent e0c7a34bc1
commit 4101e18144

View File

@ -410,6 +410,9 @@ private:
thread.inst = inst.param.jump_target;
break;
case CompiledRegex::Split:
if (instructions[inst.param.split.target].last_step == current_step)
break;
if (thread.saves >= 0)
++m_saves[thread.saves]->refcount;