Revision 08cea4ee target-i386/translate.c

b/target-i386/translate.c
2172 2172
                if (s->cc_op != CC_OP_DYNAMIC)
2173 2173
                    gen_op_set_cc_op(s->cc_op);
2174 2174
                gen_op_jmp_im(pc_start - s->cs_base);
2175
                gen_op_ljmp_protected_T0_T1();
2175
                gen_op_ljmp_protected_T0_T1(s->pc - s->cs_base);
2176 2176
            } else {
2177 2177
                gen_op_movl_seg_T0_vm(offsetof(CPUX86State,segs[R_CS]));
2178 2178
                gen_op_movl_T0_T1();
......
3453 3453
            if (s->cc_op != CC_OP_DYNAMIC)
3454 3454
                gen_op_set_cc_op(s->cc_op);
3455 3455
            gen_op_jmp_im(pc_start - s->cs_base);
3456
            gen_op_iret_protected(s->dflag);
3456
            gen_op_iret_protected(s->dflag, s->pc - s->cs_base);
3457 3457
            s->cc_op = CC_OP_EFLAGS;
3458 3458
        }
3459 3459
        gen_eob(s);

Also available in: Unified diff