aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/translate-all.c b/translate-all.c
index f6a7bc2b50..fd7cc668cf 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -30,6 +30,10 @@
#include "exec-all.h"
#include "disas.h"
+extern int dyngen_code(uint8_t *gen_code_buf,
+ uint16_t *label_offsets, uint16_t *jmp_offsets,
+ const uint16_t *opc_buf, const uint32_t *opparam_buf, const long *gen_labels);
+
enum {
#define DEF(s, n, copy_size) INDEX_op_ ## s,
#include "opc.h"
@@ -37,9 +41,6 @@ enum {
NB_OPS,
};
-#include "dyngen.h"
-#include "op.h"
-
uint16_t gen_opc_buf[OPC_BUF_SIZE];
uint32_t gen_opparam_buf[OPPARAM_BUF_SIZE];
long gen_labels[OPC_BUF_SIZE];