Skip to content

Commit 78489ea

Browse files
committed
Use full uop name in lltrace
1 parent 2850d72 commit 78489ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Python/optimizer.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ uop_item(PyObject *op, Py_ssize_t index)
336336
PyErr_SetNone(PyExc_IndexError);
337337
return NULL;
338338
}
339-
int opcode = self->trace[index].opcode;
340-
int base_opcode = _PyUop_Uncached[opcode];
341-
const char *name = _PyUOpName(base_opcode);
339+
const char *name = _PyUOpName(self->trace[index].opcode);
342340
if (name == NULL) {
343341
name = "<nil>";
344342
}

0 commit comments

Comments
 (0)