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