Skip to content

Commit a9add64

Browse files
committed
show stack infos when set PYTHON_OPT_DEBUG>4
1 parent 6656ba0 commit a9add64

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Python/optimizer_analysis.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,12 @@ optimize_uops(
414414

415415
#ifdef Py_DEBUG
416416
if (get_lltrace() >= 3) {
417+
printf("%4d abs: ", (int)(this_instr - trace));
418+
_PyUOpPrint(this_instr);
419+
printf(" \n");
417420
if (get_lltrace() >= 5 && !CURRENT_FRAME_IS_INIT_SHIM()) {
418421
dump_abstract_stack(ctx->frame, stack_pointer);
419422
}
420-
printf("%4d abs: ", (int)(this_instr - trace));
421-
_PyUOpPrint(this_instr);
422-
printf(" ");
423423
}
424424
#endif
425425

0 commit comments

Comments
 (0)