Revision efd7f486 target-alpha/translate.c
b/target-alpha/translate.c | ||
---|---|---|
3406 | 3406 |
} |
3407 | 3407 |
} |
3408 | 3408 |
if (search_pc) { |
3409 |
j = gen_opc_ptr - gen_opc_buf; |
|
3409 |
j = tcg_ctx.gen_opc_ptr - gen_opc_buf;
|
|
3410 | 3410 |
if (lj < j) { |
3411 | 3411 |
lj++; |
3412 | 3412 |
while (lj < j) |
... | ... | |
3432 | 3432 |
or exhaust instruction count, stop generation. */ |
3433 | 3433 |
if (ret == NO_EXIT |
3434 | 3434 |
&& ((ctx.pc & (TARGET_PAGE_SIZE - 1)) == 0 |
3435 |
|| gen_opc_ptr >= gen_opc_end |
|
3435 |
|| tcg_ctx.gen_opc_ptr >= gen_opc_end
|
|
3436 | 3436 |
|| num_insns >= max_insns |
3437 | 3437 |
|| singlestep |
3438 | 3438 |
|| env->singlestep_enabled)) { |
... | ... | |
3463 | 3463 |
} |
3464 | 3464 |
|
3465 | 3465 |
gen_icount_end(tb, num_insns); |
3466 |
*gen_opc_ptr = INDEX_op_end; |
|
3466 |
*tcg_ctx.gen_opc_ptr = INDEX_op_end;
|
|
3467 | 3467 |
if (search_pc) { |
3468 |
j = gen_opc_ptr - gen_opc_buf; |
|
3468 |
j = tcg_ctx.gen_opc_ptr - gen_opc_buf;
|
|
3469 | 3469 |
lj++; |
3470 | 3470 |
while (lj <= j) |
3471 | 3471 |
gen_opc_instr_start[lj++] = 0; |
Also available in: Unified diff