Lines Matching defs:conv_state
2703 convert_code_r(conv_state_t *conv_state, struct icode *ic, struct block *p)
2715 if (convert_code_r(conv_state, ic, JF(p)) == 0)
2717 if (convert_code_r(conv_state, ic, JT(p)) == 0)
2721 dst = conv_state->ftail -= (slen + 1 + p->longjt + p->longjf);
2724 p->offset = (int)(dst - conv_state->fstart);
2730 conv_error(conv_state, "not enough core");
2755 conv_error(conv_state, "illegal jmp destination");
2776 conv_error(conv_state, ljerr, "no jmp destination", off);
2785 conv_error(conv_state, ljerr, "multiple matches", off);
2791 conv_error(conv_state, ljerr, "out-of-range jump", off);
2800 conv_error(conv_state, ljerr, "multiple matches", off);
2805 conv_error(conv_state, ljerr, "out-of-range jump", off);
2814 conv_error(conv_state, ljerr, "no destination found", off);
2826 if (dst - conv_state->fstart < NBIDS)
2827 bids[dst - conv_state->fstart] = p->id + 1;
2895 conv_state_t conv_state;
2897 conv_state.fstart = NULL;
2898 conv_state.errbuf = errbuf;
2899 if (setjmp(conv_state.top_ctx) != 0) {
2900 free(conv_state.fstart);
2919 conv_state.fstart = fp;
2920 conv_state.ftail = fp + n;
2923 if (convert_code_r(&conv_state, ic, root))
2935 conv_error(conv_state_t *conv_state, const char *fmt, ...)
2940 (void)vsnprintf(conv_state->errbuf,
2943 longjmp(conv_state->top_ctx, 1);