On 10 April 2017 at 14:22, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > I'm custom to think "let's change that and think how to protect the code to > help the next one who will modify it" and wonder if it isn't safer to > define: > > const bool singlestepping; > > singlestepping = cs->singlestep_enabled || dc->ss_active; > > Then use: > > if unlikely(singlestepping) > > At line 11993 and here, what do you think?
I think we could do this with a function (that takes the DisasContext*); then we can use it in the new gen_bx_excret_final_code() too. I'll add an extra patch to the set in v2 that does that. thanks -- PMM