summaryrefslogtreecommitdiff
path: root/dyngen-op.h
blob: f77a4756f77f91de472a2326d7c20d704344bf99 (plain)
1
2
3
4
5
6
7
8
9
static inline int gen_new_label(void)
{
    return nb_gen_labels++;
}

static inline void gen_set_label(int n)
{
    gen_labels[n] = gen_opc_ptr - gen_opc_buf;
}