core/x86/interp.c
/* If branch_type is 0, sets it to the type of a ubr */
If branch_type is 0, sets it to the type of a ubr
If branch_type is 0 sets it to the type of a ubr
static instr_t *
create_exit_jmp(dcontext_t *dcontext, app_pc target, app_pc translation,
                uint branch_type)
{
    instr_t *jmp = INSTR_CREATE_jmp(dcontext, opnd_create_pc(target));
    instr_set_translation(jmp, translation);
    if (branch_type == 0)
        instr_exit_branch_set_type(jmp, instr_branch_type(jmp));
    else
        instr_exit_branch_set_type(jmp, branch_type);
    instr_set_our_mangling(jmp, true);
    return jmp;
}
static instr_t * create_exit_jmp ( dcontext_t * dcontext , app_pc target , app_pc translation , uint branch_type ) { instr_t * jmp = INSTR_CREATE_jmp ( dcontext , opnd_create_pc ( target ) ) ; instr_set_translation ( jmp , translation ) ; if ( branch_type == 0 ) instr_exit_branch_set_type ( jmp , instr_branch_type ( jmp ) ) ; else instr_exit_branch_set_type ( jmp , branch_type ) ; instr_set_our_mangling ( jmp , true ) ; return jmp ; }
If branch_type is 0, sets it to the type of a ubr
If branch_type is 0 sets it to the type of a ubr