diff options
Diffstat (limited to 'dyngen-op.h')
-rw-r--r-- | dyngen-op.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dyngen-op.h b/dyngen-op.h new file mode 100644 index 0000000000..f77a4756f7 --- /dev/null +++ b/dyngen-op.h @@ -0,0 +1,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; +} |