On 05/30/2018 06:13 PM, Richard Henderson wrote:
> +void tcg_gen_exit_tb(TranslationBlock *tb, unsigned idx)
> +{
> + uintptr_t val = (uintptr_t)tb + idx;
> +
> + if (tb == NULL) {
> + tcg_debug_assert(idx == 0);
> + } else if (idx <= 1) {
> + /* This is an exit following a goto_tb. Verify that we have
> + seen this numbered exit before, via tcg_gen_goto_tb. */
> + tcg_debug_assert(tcg_ctx->goto_tb_issue_mask & (1 << idx));
Ho hum -- #ifdef needed around this statement.
For some reason goto_tb_issue_mask is itself #ifdef'ed.
r~