Add cpu_flag::jit_return

This commit is contained in:
Nekotekina 2019-03-18 19:33:59 +03:00
parent 849411693a
commit 3794f65bb6
5 changed files with 28 additions and 7 deletions

View file

@ -131,7 +131,7 @@ bool cpu_thread::check_state()
state -= cpu_flag::memory;
}
if (state & cpu_flag::exit + cpu_flag::dbg_global_stop)
if (state & cpu_flag::exit + cpu_flag::jit_return + cpu_flag::dbg_global_stop)
{
return true;
}