From: Aurelien Jarno Date: Tue, 22 Sep 2009 21:29:44 +0000 (+0200) Subject: target-mips: remove MAX_OP_PER_INSTR workaround X-Git-Tag: v0.12.0-rc0~1044 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d42320c26a4106b096cf07af5e19727c159c09a7;p=thirdparty%2Fqemu.git target-mips: remove MAX_OP_PER_INSTR workaround Now that MAX_OP_PER_INSTR has been increased to a safer value, removed the target-mips specific workaround. Signed-off-by: Aurelien Jarno --- diff --git a/target-mips/translate.c b/target-mips/translate.c index 72692efe08d..aabb69c2df6 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -8298,8 +8298,7 @@ gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, qemu_log("search pc %d\n", search_pc); pc_start = tb->pc; - /* Leave some spare opc slots for branch handling. */ - gen_opc_end = gen_opc_buf + OPC_MAX_SIZE - 16; + gen_opc_end = gen_opc_buf + OPC_MAX_SIZE; ctx.pc = pc_start; ctx.saved_pc = -1; ctx.singlestep_enabled = env->singlestep_enabled;