Revision 551bd27f target-arm/translate.c

b/target-arm/translate.c
3393 3393

  
3394 3394
static inline void gen_jmp (DisasContext *s, uint32_t dest)
3395 3395
{
3396
    if (__builtin_expect(s->singlestep_enabled, 0)) {
3396
    if (unlikely(s->singlestep_enabled)) {
3397 3397
        /* An indirect jump so that we still trigger the debug exception.  */
3398 3398
        if (s->thumb)
3399 3399
            dest |= 1;
......
8703 8703
    /* At this stage dc->condjmp will only be set when the skipped
8704 8704
       instruction was a conditional branch or trap, and the PC has
8705 8705
       already been written.  */
8706
    if (__builtin_expect(env->singlestep_enabled, 0)) {
8706
    if (unlikely(env->singlestep_enabled)) {
8707 8707
        /* Make sure the pc is updated, and raise a debug exception.  */
8708 8708
        if (dc->condjmp) {
8709 8709
            gen_set_condexec(dc);

Also available in: Unified diff