From 597f9b2d30b612d760f9f48fe04cda29bf628e67 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 28 Jan 2023 15:19:22 -1000 Subject: accel/tcg: Pass max_insn to gen_intermediate_code by pointer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In preparation for returning the number of insns generated via the same pointer. Adjust only the prototypes so far. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- target/cris/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/cris') diff --git a/target/cris/translate.c b/target/cris/translate.c index fbc3fd5865..905d01288e 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -3286,7 +3286,7 @@ static const TranslatorOps cris_tr_ops = { .disas_log = cris_tr_disas_log, }; -void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns, +void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int *max_insns, target_ulong pc, void *host_pc) { DisasContext dc; -- cgit v1.2.3