Revision 92414b31 target-xtensa/translate.c

b/target-xtensa/translate.c
2849 2849
    DisasContext dc;
2850 2850
    int insn_count = 0;
2851 2851
    int j, lj = -1;
2852
    uint16_t *gen_opc_end = gen_opc_buf + OPC_MAX_SIZE;
2852
    uint16_t *gen_opc_end = tcg_ctx.gen_opc_buf + OPC_MAX_SIZE;
2853 2853
    int max_insns = tb->cflags & CF_COUNT_MASK;
2854 2854
    uint32_t pc_start = tb->pc;
2855 2855
    uint32_t next_page_start =
......
2893 2893
        check_breakpoint(env, &dc);
2894 2894

  
2895 2895
        if (search_pc) {
2896
            j = tcg_ctx.gen_opc_ptr - gen_opc_buf;
2896
            j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;
2897 2897
            if (lj < j) {
2898 2898
                lj++;
2899 2899
                while (lj < j) {

Also available in: Unified diff