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 | 15 | void lightrec_rec_opcode(struct lightrec_cstate *state, const struct block *block, u16 offset); |
cb72ea13 PC |
16 | void lightrec_emit_jump_to_interpreter(struct lightrec_cstate *state, |
17 | const struct block *block, u16 offset); | |
d16005f8 PC |
18 | |
19 | #endif /* __EMITTER_H__ */ |