From 71bd27be7229f5e42aadb2c0309c7e34c713a5fd Mon Sep 17 00:00:00 2001 From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Fri, 17 Oct 2025 01:23:33 +0100 Subject: [PATCH] comment out debugging --- Python/ceval.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index c08e5830744e..035a22615ca9 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1201,19 +1201,19 @@ tier2_dispatch: next_uop->opcode != _PY_FRAME_KW && next_uop->opcode != _SAVE_RETURN_OFFSET && next_uop->opcode != _SAVE_RETURN_OFFSET) { - if (next_uop->opcode != _START_EXECUTOR) { - if (next_uop->format == UOP_FORMAT_TARGET) { - _Py_CODEUNIT *aim = _PyFrame_GetBytecode(frame) + next_uop->target; - printf(" aim=[%s]\n", _PyOpcode_OpName[aim->op.code]); - } - else if (next_uop->format == UOP_FORMAT_JUMP) { - _PyUOpInstruction *aim_uop = current_executor->trace + next_uop->jump_target; - if (aim_uop->format == UOP_FORMAT_TARGET) { - _Py_CODEUNIT *aim = _PyFrame_GetBytecode(frame) + aim_uop->target; - printf(" aim=[%s]\n", _PyOpcode_OpName[aim->op.code]); - } - } - } + // if (next_uop->opcode != _START_EXECUTOR) { + // if (next_uop->format == UOP_FORMAT_TARGET) { + // _Py_CODEUNIT *aim = _PyFrame_GetBytecode(frame) + next_uop->target; + // printf(" aim=[%s]\n", _PyOpcode_OpName[aim->op.code]); + // } + // else if (next_uop->format == UOP_FORMAT_JUMP) { + // _PyUOpInstruction *aim_uop = current_executor->trace + next_uop->jump_target; + // if (aim_uop->format == UOP_FORMAT_TARGET) { + // _Py_CODEUNIT *aim = _PyFrame_GetBytecode(frame) + aim_uop->target; + // printf(" aim=[%s]\n", _PyOpcode_OpName[aim->op.code]); + // } + // } + // } dump_stack(frame, stack_pointer); } if (next_uop->opcode == _START_EXECUTOR) { -- 2.47.3