Commit | Line | Data |
---|---|---|
98fa08a5 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
d16005f8 | 2 | /* |
98fa08a5 | 3 | * Copyright (C) 2014-2021 Paul Cercueil <paul@crapouillou.net> |
d16005f8 PC |
4 | */ |
5 | ||
6 | #ifndef __EMITTER_H__ | |
7 | #define __EMITTER_H__ | |
8 | ||
9 | #include "lightrec.h" | |
10 | ||
11 | struct block; | |
98fa08a5 | 12 | struct lightrec_cstate; |
d16005f8 PC |
13 | struct opcode; |
14 | ||
98fa08a5 PC |
15 | void lightrec_rec_opcode(struct lightrec_cstate *state, const struct block *block, u16 offset); |
16 | void lightrec_emit_eob(struct lightrec_cstate *state, const struct block *block, | |
17 | u16 offset, _Bool after_op); | |
d16005f8 PC |
18 | |
19 | #endif /* __EMITTER_H__ */ |