aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-openrisc/translate.c')
-rw-r--r--target-openrisc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c
index b90181dc70..91505127fe 100644
--- a/target-openrisc/translate.c
+++ b/target-openrisc/translate.c
@@ -1759,7 +1759,7 @@ static inline void gen_intermediate_code_internal(OpenRISCCPU *cpu,
}
gen_tb_end(tb, num_insns);
- *tcg_ctx.gen_opc_ptr = INDEX_op_end;
+
if (search_pc) {
j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;
k++;