aboutsummaryrefslogtreecommitdiffstats
path: root/target-mips
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-09-22 23:29:44 +0200
committerAurelien Jarno <aurelien@aurel32.net>2009-09-23 09:25:03 +0200
commitd42320c26a4106b096cf07af5e19727c159c09a7 (patch)
tree827e2686cb82fa82ef4d27437dd7fddc28c00d67 /target-mips
parent6db73509bce1a241040039dd5466977a7356a913 (diff)
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 <aurelien@aurel32.net>
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/translate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 72692efe0..aabb69c2d 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;