Skip to content

Commit 3d41ffe

Browse files
committed
Comment out fprintfs
1 parent e00703c commit 3d41ffe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Python/optimizer.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ uop_execute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject **
335335
// TODO: Tools/cases_generator should generate these from Python/bytecodes.c
336336
case LOAD_FAST:
337337
{
338-
fprintf(stderr, "LOAD_FAST %d\n", oparg);
338+
// fprintf(stderr, "LOAD_FAST %d\n", oparg);
339339
PyObject *value = frame->localsplus[oparg];
340340
assert(value != NULL);
341341
Py_INCREF(value);
@@ -344,7 +344,7 @@ uop_execute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject **
344344
}
345345
case LOAD_CONST:
346346
{
347-
fprintf(stderr, "LOAD_CONST %d\n", oparg);
347+
// fprintf(stderr, "LOAD_CONST %d\n", oparg);
348348
PyObject *value = PyTuple_GET_ITEM(_PyFrame_GetCode(frame)->co_consts, oparg);
349349
assert(value != NULL);
350350
Py_INCREF(value);
@@ -353,20 +353,20 @@ uop_execute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject **
353353
}
354354
case SET_IP:
355355
{
356-
fprintf(stderr, "SET_IP %d\n", oparg);
356+
// fprintf(stderr, "SET_IP %d\n", oparg);
357357
frame->prev_instr = ip_offset + oparg;
358358
break;
359359
}
360360
case EXIT_TRACE:
361361
{
362-
fprintf(stderr, "EXIT_TRACE\n");
362+
// fprintf(stderr, "EXIT_TRACE\n");
363363
_PyFrame_SetStackPointer(frame, stack_pointer);
364364
Py_DECREF(self);
365365
return frame;
366366
}
367367
default:
368368
{
369-
fprintf(stderr, "Unknown uop %d, oparg %d\n", opcode, oparg);
369+
// fprintf(stderr, "Unknown uop %d, oparg %d\n", opcode, oparg);
370370
Py_FatalError("Unknown uop");
371371
abort(); // Unreachable
372372
for (;;) {}

0 commit comments

Comments
 (0)