root / dyngen-op.h @ beb811bd
History | View | Annotate | Download (162 Bytes)
1 | c4687878 | bellard | static inline int gen_new_label(void) |
---|---|---|---|
2 | c4687878 | bellard | { |
3 | c4687878 | bellard | return nb_gen_labels++;
|
4 | c4687878 | bellard | } |
5 | c4687878 | bellard | |
6 | c4687878 | bellard | static inline void gen_set_label(int n) |
7 | c4687878 | bellard | { |
8 | c4687878 | bellard | gen_labels[n] = gen_opc_ptr - gen_opc_buf; |
9 | c4687878 | bellard | } |