target-mips: remove MAX_OP_PER_INSTR workaround
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 22 Sep 2009 21:29:44 +0000 (23:29 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 23 Sep 2009 07:25:03 +0000 (09:25 +0200)
Now that MAX_OP_PER_INSTR has been increased to a safer value, removed
the target-mips specific workaround.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c

index 72692ef..aabb69c 100644 (file)
@@ -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;