]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
comment out debugging
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 17 Oct 2025 00:23:33 +0000 (01:23 +0100)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 17 Oct 2025 00:23:33 +0000 (01:23 +0100)
Python/ceval.c

index c08e5830744eacdff5b98a546fcd6ac30eeb5002..035a22615ca961d9fdfbf8ba476ba6dbd68cc82c 100644 (file)
@@ -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) {